Package sc.parser

Interface IStyleAdapter

    • Method Detail

      • getNeedsFormattedString

        boolean getNeedsFormattedString()
        For styling in HTML, the styleString method returns the styled string. For IDEs, it's api drive so no result string is required.
      • styleStart

        void styleStart​(java.lang.String styleName)
      • styleEnd

        void styleEnd​(java.lang.String styleName)
      • styleString

        void styleString​(java.lang.CharSequence codeOut,
                         boolean escape,
                         java.lang.String styleName,
                         java.lang.String styleDesc)
        Adds a style for the text range specified. If needsFormattedString is true, the result is used to accumulate the result string.