Browse Source

Editor: Run validation on every text change, not only inserts

mhilbrunner 8 years ago
parent
commit
cfd75f7a4e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      editor/code_editor.cpp

+ 2 - 1
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() {