public class CustomFileHighlighter extends SyntaxHighlighterBase
EMPTYEP_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()
SyntaxHighlighterpublic TextAttributesKey [] getTokenHighlights(IElementType tokenType)
SyntaxHighlightertokenType - The token type for which the highlighting is requested.public static java.util.Map<IElementType,TextAttributesKey> getKeys()