This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149096

Summary: Editor copy action should include font color and style (RTF DataFlavor)
Product: editor Reporter: emi <emi>
Component: Painting & PrintingAssignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description emi 2008-10-03 16:12:18 UTC
I've been asked by a customer why can't one paste text from the Editor window into another application and keep
formatting (ie. color, font style).

It results from my tests that Eclipse for example does produce a text/rtf DataFlavor in the Clipboard so if I paste it
into a rich text editor (like OpenOffice) I also get the colors. With NetBeans, I only have text/plain DataFlavors which
means the formatting is lost.

Are there any plans to support this ? If not, could someone from the Editor guys give me a tip, if any, about which way
should I start coding in order to introduce this feature (and send as a patch).
Comment 1 Vitezslav Stejskal 2008-10-06 15:25:10 UTC
There is issue #95146 requesting the same. AFAIK nobody is working on it.

*** This issue has been marked as a duplicate of 95146 ***