Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317296 - Clipboard Issue with folded text (related to 308838???)
Summary: Clipboard Issue with folded text (related to 308838???)
Status: CLOSED DUPLICATE of bug 64498
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.5.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-18 09:10 EDT by BHa CLA
Modified: 2010-06-18 10:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BHa CLA 2010-06-18 09:10:29 EDT
Build Identifier: 20100218-1602

When copying a full-expanded text (i.e a java class or xml file), pasting into a style-aware destination (MS-Word,OoWriter) works correctly (Content, Font, syntax color, etc..)
When copying a partially folded text, pasting is incomplete, style is lost, although content is complete.
This has been tested on XP SP3 with different encoding options.(UTF8, cp1352, )


Reproducible: Always

Steps to Reproduce:
1.new/XML
2.Type in a text sample text
<?xml version="1.0" encoding="UTF-8"?>
<mytag>
	my tag content
	<mysubtag id="1">
		my subtag content
	</mysubtag>
</mytag>

3.Enable folding
4.let text expanded
5.select all <ctrl A>, <ctrl>C (or right-click/copy)
6.paste into a blank sheet in OOwriter or MS writer
7.that works fine, text comes with correct fixed font and syntax coloring.
8.Fold part of the text
9.select all <ctrl A>, <ctrl>C (or right-click/copy)
10.paste into a blank sheet in OOwriter or MS writer
11.Text is complete (expanded) but style is lost (looks like its pasted from notepad)
Comment 1 Remy Suen CLA 2010-06-18 09:59:33 EDT
Sounds like a Text issue.
Comment 2 Dani Megert CLA 2010-06-18 10:09:51 EDT

*** This bug has been marked as a duplicate of bug 64498 ***