Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
EditorSyntaxHighlighter
Hérite de : SyntaxHighlighter < Resource < RefCounted < Object
Hérité par : GDScriptSyntaxHighlighter
Classe de base pour SyntaxHighlighter utilisé par le ScriptEditor.
Description
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().
Méthodes
_create() virtual const |
|
_get_name() virtual const |
|
_get_supported_languages() virtual const |
Descriptions des méthodes
EditorSyntaxHighlighter _create() virtual const 🔗
Virtual method which creates a new instance of the syntax highlighter.
String _get_name() virtual const 🔗
Virtual method which can be overridden to return the syntax highlighter name.
PackedStringArray _get_supported_languages() virtual const 🔗
Virtual method which can be overridden to return the supported language names.