public class SyntaxHighlighterOverEditorHighlighter extends java.lang.Object implements SyntaxHighlighter
EP_NAME, PROVIDER
Constructor and Description |
---|
SyntaxHighlighterOverEditorHighlighter(SyntaxHighlighter _highlighter,
VirtualFile file,
Project project) |
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.
|
void |
resetPosition(int startOffset) |
void |
restart(java.lang.CharSequence text) |
public SyntaxHighlighterOverEditorHighlighter(SyntaxHighlighter _highlighter, VirtualFile file, Project project)
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.public void restart(java.lang.CharSequence text)
public void resetPosition(int startOffset)