public class TemplateDataHighlighterWrapper extends java.lang.Object implements SyntaxHighlighter
EP_NAME, PROVIDER
Constructor and Description |
---|
TemplateDataHighlighterWrapper(SyntaxHighlighter highlighter) |
Modifier and Type | Method and Description |
---|---|
Lexer |
getHighlightingLexer()
Returns the lexer used for highlighting the file.
|
TextAttributesKey [] |
getTokenHighlights(IElementType tokenType)
Returns the list of text attribute keys used for highlighting the specified token type.
|
public TemplateDataHighlighterWrapper(SyntaxHighlighter highlighter)
public Lexer getHighlightingLexer()
SyntaxHighlighter
getHighlightingLexer
in interface SyntaxHighlighter
public TextAttributesKey [] getTokenHighlights(IElementType tokenType)
SyntaxHighlighter
getTokenHighlights
in interface SyntaxHighlighter
tokenType
- The token type for which the highlighting is requested.