From abc97d3bb42aa04c2fd20c330b6a71f8c9755353 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Thu, 5 May 2016 16:27:05 +0100 Subject: [PATCH] Fixed autocomplete truncate, issue 4554 (cherry picked from commit accc2a195bdcb79628650a61e6d9a3e408c37d19) --- scene/gui/text_edit.cpp | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 8509c24dfb7..41700f462a3 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -1644,35 +1644,27 @@ void TextEdit::_input_event(const InputEvent& p_input_event) { if (k.unicode>32) { - if (cursor.column