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()
SyntaxHighlightergetHighlightingLexer in interface SyntaxHighlighterpublic TextAttributesKey [] getTokenHighlights(IElementType tokenType)
SyntaxHighlightergetTokenHighlights in interface SyntaxHighlightertokenType - The token type for which the highlighting is requested.