1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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() {