aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulb232016-05-08 13:18:50 +0100
committerRémi Verschelde2016-05-12 09:00:22 +0200
commit18782aec617b88bfa756fc9808e7e1d35eb920c4 (patch)
tree40d07967e4cc8bec78cbf3382c8f0cc2bd9cd71b
parentf58cfaf5850c5fde674d3e68670446b377c9c3d8 (diff)
downloadgodot-18782aec617b88bfa756fc9808e7e1d35eb920c4.tar.gz
godot-18782aec617b88bfa756fc9808e7e1d35eb920c4.tar.zst
godot-18782aec617b88bfa756fc9808e7e1d35eb920c4.zip
Fixed autocomlete strings not appearing for function arguments
(cherry picked from commit 9e6234201bdd9abbd780d75d5c5e1ead454d4c20)
-rw-r--r--scene/gui/text_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp
index 454955674..8509c24df 100644
--- a/scene/gui/text_edit.cpp
+++ b/scene/gui/text_edit.cpp
@@ -3874,7 +3874,7 @@ void TextEdit::_update_completion_candidates() {
}
}
- if (l[cursor.column - 1] == '(' && !pre_keyword) {
+ if (l[cursor.column - 1] == '(' && !pre_keyword && !completion_strings[0].begins_with("\"")) {
cancel = true;
}