summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhilbrunner <m.hilbrunner@gmail.com>2017-09-28 18:30:20 +0200
committermhilbrunner <m.hilbrunner@gmail.com>2017-09-30 00:48:16 +0200
commitcfd75f7a4eb7c2814fc198989ceac87fe37080d1 (patch)
tree6a1971924fcf8471c2078e3303cad4fc68db5132
parent4f39ce32b9195405f934445b20059e86632b47f9 (diff)
Editor: Run validation on every text change, not only inserts
-rw-r--r--editor/code_editor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index a7516c091f..cb916f9433 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() {