Class StringHighlighter


  • public class StringHighlighter
    extends Highlighter
    Recognizes strings. Accepted parameters:
    string
    How the string starts. Required.
    endString
    How the string ends. If not present the start value is used.
    escape
    Character to use to escape characters. Optional.
    doubleEscapes
    When present the double usage of start is considered to be an escaped start (used in Pascal). Optional.
    spanNewLines
    When present strings can span newlines, otherwise a newline breaks the string parsing.