|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SyntaxHighlighter
Controls the syntax highlighting of a file.
Language.getSyntaxHighlighter(com.intellij.openapi.project.Project),
FileType.getHighlighter(com.intellij.openapi.project.Project)| Method Summary | |
|---|---|
Lexer |
getHighlightingLexer()
Returns the lexer used for highlighing the file. |
TextAttributesKey[] |
getTokenHighlights(IElementType tokenType)
Returns the list of text attribute keys used for highlighting the specified token type. |
| Method Detail |
|---|
@NotNull Lexer getHighlightingLexer()
@NotNull TextAttributesKey[] getTokenHighlights(IElementType tokenType)
tokenType - The token type for which the highlighting is requested.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||