You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
Update SyntaxHighlighter documentation
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
<return type="ScriptEditorBase">
|
||||
</return>
|
||||
<description>
|
||||
Returns the [ScriptEditorBase] object that the user is currently editing.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_current_script">
|
||||
@@ -60,6 +61,7 @@
|
||||
<return type="Array">
|
||||
</return>
|
||||
<description>
|
||||
Returns an array with all [ScriptEditorBase] objects which are currently open in editor.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_open_scripts" qualifiers="const">
|
||||
@@ -95,6 +97,8 @@
|
||||
<argument index="0" name="syntax_highlighter" type="EditorSyntaxHighlighter">
|
||||
</argument>
|
||||
<description>
|
||||
Registers the [EditorSyntaxHighlighter] to the editor, the [EditorSyntaxHighlighter] will be available on all open scripts.
|
||||
[b]Note:[/b] Does not apply to scripts that are already opened.
|
||||
</description>
|
||||
</method>
|
||||
<method name="unregister_syntax_highlighter">
|
||||
@@ -103,6 +107,8 @@
|
||||
<argument index="0" name="syntax_highlighter" type="EditorSyntaxHighlighter">
|
||||
</argument>
|
||||
<description>
|
||||
Unregisters the [EditorSyntaxHighlighter] from the editor.
|
||||
[b]Note:[/b] The [EditorSyntaxHighlighter] will still be applied to scripts that are already opened.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
|
||||
Reference in New Issue
Block a user