2020-07-15 06:43:21 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 08:08:05 +00:00
<class name= "EditorSyntaxHighlighter" inherits= "SyntaxHighlighter" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2020-07-15 06:43:21 +00:00
<brief_description >
2023-04-30 14:26:09 +00:00
Base class for [SyntaxHighlighter] used by the [ScriptEditor].
2020-07-15 06:43:21 +00:00
</brief_description>
<description >
2023-04-30 14:26:09 +00:00
Base class that all [SyntaxHighlighter]s used by the [ScriptEditor] extend from.
2023-08-22 08:13:42 +00:00
Add a syntax highlighter to an individual script by calling [method ScriptEditorBase.add_syntax_highlighter]. To apply to all scripts on open, call [method ScriptEditor.register_syntax_highlighter].
2020-07-15 06:43:21 +00:00
</description>
<tutorials >
</tutorials>
<methods >
2021-08-22 01:52:44 +00:00
<method name= "_get_name" qualifiers= "virtual const" >
2021-07-30 13:28:05 +00:00
<return type= "String" />
2020-07-15 06:43:21 +00:00
<description >
2020-10-11 16:07:33 +00:00
Virtual method which can be overridden to return the syntax highlighter name.
2020-07-15 06:43:21 +00:00
</description>
</method>
2021-08-22 01:52:44 +00:00
<method name= "_get_supported_languages" qualifiers= "virtual const" >
2022-08-05 01:41:48 +00:00
<return type= "PackedStringArray" />
2020-07-15 06:43:21 +00:00
<description >
2020-10-11 16:07:33 +00:00
Virtual method which can be overridden to return the supported language names.
2020-07-15 06:43:21 +00:00
</description>
</method>
</methods>
</class>