How can I save the contents of an SWT StyledText widget as HTML?
Is there an easy way to take the contents of an SWT StyledText widget and save it as HTML, and then conversely take ba开发者_如何学Gock the saved HTML to load it into the StyledText?
It looks like this SWT RichTextEditor does it. Source code is not available, however; it also does not seem to support multiple fonts in the same StyleText widget.
精彩评论