From 18782aec617b88bfa756fc9808e7e1d35eb920c4 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Sun, 8 May 2016 13:18:50 +0100 Subject: [PATCH] Fixed autocomlete strings not appearing for function arguments (cherry picked from commit 9e6234201bdd9abbd780d75d5c5e1ead454d4c20) --- scene/gui/text_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 4549556749a..8509c24dfb7 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; }