From 3010bca41ba31fdb5c3c4b7181fd92f8e8f116aa Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Mon, 11 Oct 2021 18:13:31 +0100 Subject: Move add_syntax_highlighter bind to ScriptEditorBase --- doc/classes/EditorSyntaxHighlighter.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/classes/EditorSyntaxHighlighter.xml') diff --git a/doc/classes/EditorSyntaxHighlighter.xml b/doc/classes/EditorSyntaxHighlighter.xml index 8880ce4d44..462323a067 100644 --- a/doc/classes/EditorSyntaxHighlighter.xml +++ b/doc/classes/EditorSyntaxHighlighter.xml @@ -5,7 +5,7 @@ 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 ScriptEditorBase._add_syntax_highlighter (currently not working). To apply to all scripts on open, call [method ScriptEditor.register_syntax_highlighter] + 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] -- cgit v1.2.3