You've already forked godot
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user