浏览代码

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

mhilbrunner 8 年之前
父节点
当前提交
cfd75f7a4e
共有 1 个文件被更改,包括 2 次插入1 次删除
  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() {