public abstract class SingleLazyInstanceSyntaxHighlighterFactory extends SyntaxHighlighterFactory
LANGUAGE_FACTORY
Constructor and Description |
---|
SingleLazyInstanceSyntaxHighlighterFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract SyntaxHighlighter |
createHighlighter() |
SyntaxHighlighter |
getSyntaxHighlighter(Project project,
VirtualFile virtualFile)
Override this method to provide syntax highlighting (coloring) capabilities for your language implementation.
|
getSyntaxHighlighter, getSyntaxHighlighter
public SingleLazyInstanceSyntaxHighlighterFactory()
public final SyntaxHighlighter getSyntaxHighlighter(Project project, VirtualFile virtualFile)
SyntaxHighlighterFactory
getSyntaxHighlighter
in class SyntaxHighlighterFactory
project
- might be necessary to gather various project settings from.virtualFile
- might be necessary to collect file specific settingsSyntaxHighlighter
interface implementation for this particular language.protected abstract SyntaxHighlighter createHighlighter()