Render HTML into a StyledTexthttps://www.eclipse.org/forums/index.php/mv/msg/159343/503301/#msg_503301
Originally posted by: victor.conesa.justinmind.com

Hi guys!

Do you know if it's possible to render HTML into a StyledText? I want to use
the HTMLTransfer to be able to drag and drop HTML into a styled text so the
user can modify it.

Thanks!]]>2009-12-11T12:32:06-00:00Re: Render HTML into a StyledTexthttps://www.eclipse.org/forums/index.php/mv/msg/159343/503527/#msg_503527
StyledText cannot currently be fed HTML, the existing request for this ishttps://bugs.eclipse.org/bugs/show_bug.cgi?id=212829 .

If the HTML markup is basic then it should not be difficult to write
something that creates StyleRanges based on parsed HTML. However if the
HTML is using more advanced [sic] tags like tables, etc., then creating
equivalents in StyledText would be more work, if possible at all. I think
it's cases like this that make it difficult to provide StyledText API that
can accept arbitrary HTML content, without first spending the effort to
evolve StyledText into an almost-web-browser.