summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-10-02 23:48:02 +0700
committerGitHub <noreply@github.com>2017-10-02 23:48:02 +0700
commitef643690c32c919fd607079107d654e622a57749 (patch)
treeb21715783dc0cd2187df3b98709d82d3ca93e8d4
parent4b57e078ae396e12c7bb4c77f11893d49f543c32 (diff)
parentcfd75f7a4eb7c2814fc198989ceac87fe37080d1 (diff)
Merge pull request #11661 from mhilbrunner/issue-11616-always-validate
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 985b336d20..4421768493 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() {