diff options
Diffstat (limited to 'doc/classes/EditorSyntaxHighlighter.xml')
-rw-r--r-- | doc/classes/EditorSyntaxHighlighter.xml | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/doc/classes/EditorSyntaxHighlighter.xml b/doc/classes/EditorSyntaxHighlighter.xml index d81b25345f..394a4ada46 100644 --- a/doc/classes/EditorSyntaxHighlighter.xml +++ b/doc/classes/EditorSyntaxHighlighter.xml @@ -5,28 +5,19 @@ </brief_description> <description> 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] + Add a syntax highlighter to an individual script by calling ScriptEditorBase._add_syntax_highlighter (currently not working). To apply to all scripts on open, call [method ScriptEditor.register_syntax_highlighter] </description> <tutorials> </tutorials> <methods> - <method name="_get_name" qualifiers="virtual"> - <return type="String"> - </return> + <method name="_get_name" qualifiers="virtual const"> + <return type="String" /> <description> Virtual method which can be overridden to return the syntax highlighter name. </description> </method> - <method name="_get_supported_extentions" qualifiers="virtual"> - <return type="Array"> - </return> - <description> - Virtual method which can be overridden to return the supported file extensions. - </description> - </method> - <method name="_get_supported_languages" qualifiers="virtual"> - <return type="Array"> - </return> + <method name="_get_supported_languages" qualifiers="virtual const"> + <return type="Array" /> <description> Virtual method which can be overridden to return the supported language names. </description> |