summaryrefslogtreecommitdiff
path: root/doc/classes/ScriptEditorBase.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-11 19:56:43 +0200
committerGitHub <noreply@github.com>2021-10-11 19:56:43 +0200
commit5edfdc53ebb97616a6a72031b2e28ec7865d6ab8 (patch)
tree9d5b542652e576f865abf0c97a37ee272210ae2e /doc/classes/ScriptEditorBase.xml
parent188e08307ee79920815ad4e5df2a7d2a60c649a0 (diff)
parent3010bca41ba31fdb5c3c4b7181fd92f8e8f116aa (diff)
Merge pull request #53681 from Paulb23/rejig-syntax-highligher-bind
Move add_syntax_highlighter bind to ScriptEditorBase
Diffstat (limited to 'doc/classes/ScriptEditorBase.xml')
-rw-r--r--doc/classes/ScriptEditorBase.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/ScriptEditorBase.xml b/doc/classes/ScriptEditorBase.xml
index 1e72fe9090..88adeaf12f 100644
--- a/doc/classes/ScriptEditorBase.xml
+++ b/doc/classes/ScriptEditorBase.xml
@@ -9,6 +9,13 @@
<tutorials>
</tutorials>
<methods>
+ <method name="add_syntax_highlighter">
+ <return type="void" />
+ <argument index="0" name="highlighter" type="EditorSyntaxHighlighter" />
+ <description>
+ Adds a [EditorSyntaxHighlighter] to the open script.
+ </description>
+ </method>
<method name="get_base_editor" qualifiers="const">
<return type="Control" />
<description>