Class HTMLStyledTextParser

java.lang.Object
org.eclipse.nebula.widgets.opal.commons.HTMLStyledTextParser

public class HTMLStyledTextParser
extends java.lang.Object
Instances of this class are used to convert pseudo-HTML content of a styled text into style ranges
  • Constructor Summary

    Constructors 
    Constructor Description
    HTMLStyledTextParser​(org.eclipse.swt.custom.StyledText styledText)
    Constructor
  • Method Summary

    Modifier and Type Method Description
    void parse()
    Parse the content, build the list of style ranges and apply them to the styled text widget

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HTMLStyledTextParser

      HTMLStyledTextParser​(org.eclipse.swt.custom.StyledText styledText)
      Constructor
      Parameters:
      styledText - styled text to analyze
  • Method Details

    • parse

      public void parse() throws java.io.IOException
      Parse the content, build the list of style ranges and apply them to the styled text widget
      Throws:
      java.io.IOException