Interface SyntaxHighlighter
- All Known Implementing Classes:
Tokenizer
public interface SyntaxHighlighter
A pluggable incremental syntax highlighter for
CodeEditor. Implementations tokenize one line at
a time and return an opaque integer state that is passed to the next line. Implementations should
be stateless and thread-safe because one registered instance may serve multiple editors.-
Method Summary
Modifier and TypeMethodDescriptionHighlights a line, usingstartStatefrom the preceding line.
-
Method Details
-
tokenize
Highlights a line, usingstartStatefrom the preceding line.
-