Inherits: SyntaxHighlighter < Resource < RefCounted < Object
Base class for SyntaxHighlighter used by the ScriptEditor.
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.
_get_name ( ) virtual const | |
_get_supported_languages ( ) virtual const |
Virtual method which can be overridden to return the syntax highlighter name.
Virtual method which can be overridden to return the supported language names.
© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_editorsyntaxhighlighter.html