From accc2a195bdcb79628650a61e6d9a3e408c37d19 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 --- 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 05f7725a924..a8c9a2372b8 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -1659,35 +1659,27 @@ void TextEdit::_input_event(const InputEvent& p_input_event) { if (k.unicode>32) { - if (cursor.column