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 --- editor/plugins/text_editor.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'editor/plugins/text_editor.cpp') diff --git a/editor/plugins/text_editor.cpp b/editor/plugins/text_editor.cpp index 06ba8a6168..1fc7eb98e0 100644 --- a/editor/plugins/text_editor.cpp +++ b/editor/plugins/text_editor.cpp @@ -407,10 +407,6 @@ void TextEditor::_convert_case(CodeTextEditor::CaseStyle p_case) { code_editor->convert_case(p_case); } -void TextEditor::_bind_methods() { - ClassDB::bind_method(D_METHOD("add_syntax_highlighter", "highlighter"), &TextEditor::add_syntax_highlighter); -} - static ScriptEditorBase *create_editor(const RES &p_resource) { if (Object::cast_to(*p_resource)) { return memnew(TextEditor); -- cgit v1.2.3