idea-plugin / arrow.meta.ide.dsl.editor.syntaxHighlighter / SyntaxHighlighterSyntax

SyntaxHighlighterSyntax

interface SyntaxHighlighterSyntax

SyntaxHighlighterExtensionProvider provides means to register SyntaxHighlighters for Languages. SyntaxHighlighters solely specify highlighted tokens, which are generated from the Lexer. Check out the Docs on Syntax Highlighting or How to create a Syntax Highlighter.

Functions

addSyntaxHighlighter open fun IdeMetaPlugin.addSyntaxHighlighter(highlightingLexer: Lexer, language: Language, tokenHighlights: (tokenType: IElementType) -> Array<TextAttributesKey>): ExtensionPhase
syntaxHighlighter open fun SyntaxHighlighterSyntax.syntaxHighlighter(highlightingLexer: Lexer, tokenHighlights: (tokenType: IElementType) -> Array<TextAttributesKey>): SyntaxHighlighter
syntaxHighlighterFactory SingleLazyInstanceSyntaxHighlighterFactory is a wrapper over the underlying SyntaxHighlighteropen fun SyntaxHighlighterSyntax.syntaxHighlighterFactory(syntaxHighlighter: SyntaxHighlighter): SyntaxHighlighterFactory

Inheritors

IdeSyntax interface IdeSyntax : IntentionSyntax, IconProviderSyntax, SyntaxHighlighterSyntax, InspectionSyntax, AnActionSyntax, ColorSettingsSyntax, HintingSyntax, LanguageSyntax, LineMarkerSyntax, LiveTemplateSyntax, NavigationSyntax, SearchSyntax, StructureViewSyntax, UsageSyntax, ExtensionProviderSyntax, DocumentationSyntax, KotlinExtensionSyntax, DialogSyntax, PopupSyntax, NotificationSyntax, ToolWindowSyntax, GotoRelatedSyntax, AnnotatorSyntax, ParserSyntax, ApplicationSyntax

Do you like Arrow?

Arrow Org
<