summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-29 14:10:53 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-29 14:10:53 +0100
commit915bdd4b4d47b4b5279ae012c9db18c471adb6c4 (patch)
tree0567d7870d4471824a2392e44937b1e55cfd4594
parenta3dae9e548e5fbab7b7be070cf71f972656f759b (diff)
parentc161ee3519a2479b6ad3096c5165f328db36904e (diff)
Merge pull request #71896 from poohcom1/fix/autocomplete-substring-filter
Fix autocomplete filter not including substrings
-rw-r--r--scene/gui/code_edit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/code_edit.cpp b/scene/gui/code_edit.cpp
index c977d9d2fb..b084cb5bea 100644
--- a/scene/gui/code_edit.cpp
+++ b/scene/gui/code_edit.cpp
@@ -3088,6 +3088,8 @@ void CodeEdit::_filter_code_completion_candidates_impl() {
}
code_completion_options.append_array(completion_options_casei);
+ code_completion_options.append_array(completion_options_substr);
+ code_completion_options.append_array(completion_options_substr_casei);
code_completion_options.append_array(completion_options_subseq);
code_completion_options.append_array(completion_options_subseq_casei);