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()
SyntaxHighlightergetHighlightingLexer in interface SyntaxHighlighterpublic TextAttributesKey [] getTokenHighlights(IElementType tokenType)
SyntaxHighlightergetTokenHighlights in interface SyntaxHighlightertokenType - The token type for which the highlighting is requested.public void restart(java.lang.CharSequence text)
public void resetPosition(int startOffset)