godot/doc/classes/EditorSyntaxHighlighter.xml

35 lines
1.3 KiB
XML
Raw Normal View History

2020-07-15 06:43:21 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name="EditorSyntaxHighlighter" inherits="SyntaxHighlighter" version="4.0">
<brief_description>
2020-10-11 16:07:33 +00:00
Base Syntax highlighter resource for the [ScriptEditor].
2020-07-15 06:43:21 +00:00
</brief_description>
<description>
2020-10-11 16:07:33 +00:00
Base syntax highlighter resource all editor syntax highlighters extend from, it is used in the [ScriptEditor].
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>
<method name="_get_name" qualifiers="virtual">
<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>
<method name="_get_supported_extentions" qualifiers="virtual">
<return type="Array" />
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 file extensions.
2020-07-15 06:43:21 +00:00
</description>
</method>
<method name="_get_supported_languages" qualifiers="virtual">
<return type="Array" />
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>
<constants>
</constants>
</class>