Project: SWT
Bug 315140 StyledText.RTFWriter ignores font style
Reported: 2010-05-31 16:24:25 | Status: resolved fixed

Eclipse 3.6 RC2 I'm trying to use StyledText to create a simple Rich Text editor. In order to extract RTF from it, I'm using the clipboard workaround. I'm running into an issue when the style of the text is defined in the font (as opposed to fontStyle). It seems RTFWriter only writes styles if they are in fontStyle but ignores the ones in FontData.getStyle() I wonder if this is a bug or I am missing something.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java