2020-07-15 14:43:21 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-02-14 21:18:53 +08:00
<class name= "EditorSyntaxHighlighter" inherits= "SyntaxHighlighter" version= "4.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2020-07-15 14:43:21 +08:00
<brief_description >
2020-10-12 00:07:33 +08:00
Base Syntax highlighter resource for the [ScriptEditor].
2020-07-15 14:43:21 +08:00
</brief_description>
<description >
2020-10-12 00:07:33 +08:00
Base syntax highlighter resource all editor syntax highlighters extend from, it is used in the [ScriptEditor].
2021-10-12 01:13:31 +08: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 14:43:21 +08:00
</description>
<tutorials >
</tutorials>
<methods >
2021-08-22 09:52:44 +08:00
<method name= "_get_name" qualifiers= "virtual const" >
2021-07-30 21:28:05 +08:00
<return type= "String" />
2020-07-15 14:43:21 +08:00
<description >
2020-10-12 00:07:33 +08:00
Virtual method which can be overridden to return the syntax highlighter name.
2020-07-15 14:43:21 +08:00
</description>
</method>
2021-08-22 09:52:44 +08:00
<method name= "_get_supported_languages" qualifiers= "virtual const" >
2022-08-05 09:41:48 +08:00
<return type= "PackedStringArray" />
2020-07-15 14:43:21 +08:00
<description >
2020-10-12 00:07:33 +08:00
Virtual method which can be overridden to return the supported language names.
2020-07-15 14:43:21 +08:00
</description>
</method>
</methods>
</class>