Question

Is there an easy way to take the contents of an SWT StyledText widget and save it as HTML, and then conversely take back the saved HTML to load it into the StyledText?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top