public class CustomFileHighlighter extends SyntaxHighlighterBase
EMPTY
EP_NAME, PROVIDER
Constructor and Description |
---|
CustomFileHighlighter(SyntaxTable table) |
Modifier and Type | Method and Description |
---|---|
Lexer |
getHighlightingLexer()
Returns the lexer used for highlighting the file.
|
static java.util.Map<IElementType,TextAttributesKey> |
getKeys() |
TextAttributesKey [] |
getTokenHighlights(IElementType tokenType)
Returns the list of text attribute keys used for highlighting the specified token type.
|
public CustomFileHighlighter(SyntaxTable table)
public Lexer getHighlightingLexer()
SyntaxHighlighter
public TextAttributesKey [] getTokenHighlights(IElementType tokenType)
SyntaxHighlighter
tokenType
- The token type for which the highlighting is requested.public static java.util.Map<IElementType,TextAttributesKey> getKeys()