Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317296

Summary: Clipboard Issue with folded text (related to 308838???)
Product: [Eclipse Project] JDT Reporter: BHa <bruno.haleblian>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, remy.suen
Version: 3.5.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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 ***