second take at autocomplete logic, using a TextOperation check.

This commit is contained in:
Paulo Gomes
2017-09-06 02:02:51 +01:00
parent 0b8fa1e010
commit 9b72f08042
3 changed files with 10 additions and 2 deletions

View File

@ -1023,8 +1023,10 @@ void CodeTextEditor::_line_col_changed() {
void CodeTextEditor::_text_changed() {
code_complete_timer->start();
idle->start();
if (text_editor->is_insert_text_operation()) {
code_complete_timer->start();
idle->start();
}
}
void CodeTextEditor::_code_complete_timer_timeout() {