سؤال

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?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top