Summary: | Java-Code Copy to Clipboard dosn't support Colorinformations | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Peter B. Dick <peter.dick> |
Component: | Text | Assignee: | Platform-Text-Inbox <platform-text-inbox> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Peter B. Dick
2004-06-08 05:59:56 EDT
You have to go to the Edit menu, hit Paste Special, and choose Rich Text. We've tested the following combinations; 1 PC Win 2000 with 3.0 M9 --> copy as Rich Text, ok 1 PC Win 2000 with 3.0 M9 --> copy as Text 1 PC Win 2000 with 3.0 RC1--> copy as Text 1 PC XP Prof with 3.0 RC1--> copy as Text I don't understand what you are saying with your last comment. I don't see a "copy as text" or "copy as rich text" command in Eclipse. This is what I am doing: - select code in Java editor - hit ctrl-c to copy - go to Notes - from the Edit menu choose Paste Special - select Rich Text -> text is pasted correctly with syntax colouring What are the steps that you are doing? I did exact the same: - select code in Java editor - hit ctrl-c to copy - go to Notes - from the Edit menu choose Paste Special What happens now ? On three different computers Notes gives you only the choice of Paste Special --> as Text. In one case Notes gives you the choice of Paste Special --> as Text / as Rich Text. (Same behavior in Word 2003) Only once Notes offers 'Text' and 'Rich Text'. Try pasting into WordPad on the same machine. If color information is preserved on WordPad and not on Notes, then it's a problem with Notes. Ok, I did it and the result is; Eclipse 3.0 RC1 WordPad: no color information is preserved Notes : no color information is preserved Eclipse 3.0 Build 200310101454 (M6 ?) WordPad: color information is preserved Notes : color information is preserved This works ok for me in build i0608-0800. Moving to Platform/UI to confirm that it was a problem in RC1 but will be fixed in RC2. |