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

Bug 365305

Summary: Feature Request: Add "Copy as RTF"
Product: [Eclipse Project] Platform Reporter: Zvika <zvika_haramaty>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: markus.kell.r, pwebster, remy.suen
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Zvika CLA 2011-12-01 08:12:04 EST
Build Identifier: 

Hi.

Some editors (e.g., Programmer's Notepad 2) have a "Copy as RTF" feature.
This is very neat - it allows the user the copy code section, and paste it in a mail, or Office document, and it would be already styled as in the editor - with appropriate font, and colored.

It'd be nice to have this in Eclipse.

Thanks,
Zvika

Reproducible: Always
Comment 1 Markus Keller CLA 2011-12-01 13:40:31 EST
This already works with the normal copy action. Unfortunately, it doesn't work if the selection includes a collapsed selection. In that case, you have to right-click on the folding ruler and execute "Folding > Expand All" first.

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