From cfd75f7a4eb7c2814fc198989ceac87fe37080d1 Mon Sep 17 00:00:00 2001 From: mhilbrunner Date: Thu, 28 Sep 2017 18:30:20 +0200 Subject: [PATCH] Editor: Run validation on every text change, not only inserts --- editor/code_editor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index a7516c091f5..cb916f94337 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -1025,8 +1025,9 @@ void CodeTextEditor::_text_changed() { if (text_editor->is_insert_text_operation()) { code_complete_timer->start(); - idle->start(); } + + idle->start(); } void CodeTextEditor::_code_complete_timer_timeout() {