public interface EditorHighlighterProvider
Modifier and Type | Method and Description |
---|---|
EditorHighlighter |
getEditorHighlighter(Project project,
FileType fileType,
VirtualFile virtualFile,
EditorColorsScheme colors)
Lower level API for customizing language's file syntax highlighting in editor component.
|
EditorHighlighter getEditorHighlighter(Project project, FileType fileType, VirtualFile virtualFile, EditorColorsScheme colors)
project
- The project in which the highlighter will work, or null if the highlighter is not tied to any project.fileType
- the file type of the file to be highlightedvirtualFile
- The file to be highlightedcolors
- color scheme highlighter shall be initialized with. @return EditorHighlighter implementation