diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-05-09 15:33:42 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-05-09 15:33:42 +0200 |
commit | b78b01354d7deb0f52c95539805688943b44695f (patch) | |
tree | d398e2f363ed0d8b79f9639d6a50b0ac347a0a33 /scene | |
parent | 8a45936abd8679b5128e9d990b2c563afac72379 (diff) | |
parent | 9e6234201bdd9abbd780d75d5c5e1ead454d4c20 (diff) |
Merge pull request #4583 from Paulb23/autocomplte_string_completion
Fixed autocomplete strings not appearing for function arguments
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/text_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index a8a3cb5537..bf8aff0f44 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -3903,7 +3903,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; } |