Class EditorSyntaxHighlighter
Base class for SyntaxHighlighter used by the ScriptEditor.
- Inheritance
-
EditorSyntaxHighlighter
- Derived
Remarks
Base class that all SyntaxHighlighters used by the ScriptEditor extend from.
Add a syntax highlighter to an individual script by calling ScriptEditorBase.add_syntax_highlighter. To apply to all scripts on open, call ScriptEditor.register_syntax_highlighter.
Methods
_get_name
Qualifiers: virtualconst
Virtual method which can be overridden to return the syntax highlighter name.
String _get_name
_get_supported_languages
Qualifiers: virtualconst
Virtual method which can be overridden to return the supported language names.
PackedStringArray _get_supported_languages