Interface TokenTypes

All Known Subinterfaces:
Token
All Known Implementing Classes:
SyntaxScheme, TokenImpl

public interface TokenTypes
All token types supported by RSyntaxTextArea.

If you're creating your own TokenMaker for a new language, it's important to note that while most of these token types are used purely for styling information, that TokenTypes.SEPARATOR is given special treatment in this library. Specifically, many utility methods assume that tokens such as curly braces and square brackets are identified as type SEPARATOR. For example, RSyntaxTextArea.setPaintMatchedBracketPair makes this assumption.

Note that all valid token types are >= 0, so extensions of the TokenMaker class are free to internally use all ints < 0 ONLY for "end-of-line" style markers; they are ignored by painting implementations.

Version:
1.0