diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index e106f0dfc6a..40fc9a70cc1 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -4140,13 +4140,26 @@ void TextEdit::_update_completion_candidates() { int ci_match=0; Vector sim_cache; for(int i=0;i comp_sim ? pos - 1 : pos; // Pos will be off by one completion_options.insert(pos, completion_strings[i]); sim_cache.insert(pos, similarity); }