virtualx-engine/doc/classes/EditorSyntaxHighlighter.xml

27 lines
1.1 KiB
XML
Raw Normal View History

2020-07-15 08:43:21 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="EditorSyntaxHighlighter" inherits="SyntaxHighlighter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
2020-07-15 08:43:21 +02:00
<brief_description>
Base class for [SyntaxHighlighter] used by the [ScriptEditor].
2020-07-15 08:43:21 +02:00
</brief_description>
<description>
Base class that all [SyntaxHighlighter]s used by the [ScriptEditor] extend from.
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 08:43:21 +02:00
</description>
<tutorials>
</tutorials>
<methods>
<method name="_get_name" qualifiers="virtual const">
<return type="String" />
2020-07-15 08:43:21 +02:00
<description>
2020-10-11 18:07:33 +02:00
Virtual method which can be overridden to return the syntax highlighter name.
2020-07-15 08:43:21 +02:00
</description>
</method>
<method name="_get_supported_languages" qualifiers="virtual const">
<return type="PackedStringArray" />
2020-07-15 08:43:21 +02:00
<description>
2020-10-11 18:07:33 +02:00
Virtual method which can be overridden to return the supported language names.
2020-07-15 08:43:21 +02:00
</description>
</method>
</methods>
</class>