diff options
author | George Marques <george@gmarqu.es> | 2021-02-04 09:30:41 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2021-02-04 09:30:41 -0300 |
commit | bcf1617755769d13c640348d718c4042b8b06d6e (patch) | |
tree | a7b266466a54bd19ab720f3175ea474034606039 | |
parent | 1d1310f3d7fbde091771ee7bb98bb94e60432696 (diff) |
Removed duplicated binding of two methods
They are bound as both regular and virtual methods which makes ClassDB
report the methods twice when querying the API. The non-virtual binding
is removed since both methods only seem to be used as virtual.
-rw-r--r-- | scene/resources/syntax_highlighter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/resources/syntax_highlighter.cpp b/scene/resources/syntax_highlighter.cpp index f3f881a774..1f5798c00a 100644 --- a/scene/resources/syntax_highlighter.cpp +++ b/scene/resources/syntax_highlighter.cpp @@ -115,8 +115,6 @@ void SyntaxHighlighter::_bind_methods() { ClassDB::bind_method(D_METHOD("clear_highlighting_cache"), &SyntaxHighlighter::clear_highlighting_cache); ClassDB::bind_method(D_METHOD("get_text_edit"), &SyntaxHighlighter::get_text_edit); - ClassDB::bind_method(D_METHOD("_get_line_syntax_highlighting", "p_line"), &SyntaxHighlighter::_get_line_syntax_highlighting); - ClassDB::bind_method(D_METHOD("_update_cache"), &SyntaxHighlighter::_update_cache); ClassDB::bind_method(D_METHOD("_clear_highlighting_cache"), &SyntaxHighlighter::_clear_highlighting_cache); BIND_VMETHOD(MethodInfo(Variant::DICTIONARY, "_get_line_syntax_highlighting", PropertyInfo(Variant::INT, "p_line"))); |