summaryrefslogtreecommitdiff
path: root/editor/code_editor.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-06 15:16:09 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-06 15:16:09 +0100
commit6dddc031e80efa901645e4509ea8a5fb4b762c22 (patch)
treef1ed2f9984bd771ee5ffd1e398fbe070581ef049 /editor/code_editor.h
parent450e8e3c2fb3e64d5439b5e011f50b889ac343e9 (diff)
parent02f7e03a6632182b2765da61182e9912dd826cbe (diff)
Merge pull request #69651 from alfredbaudisch/autocomplete-line-number
Cancels the code complete timer when the caret moves to another line
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r--editor/code_editor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h
index ded7518287..4d7034fbd0 100644
--- a/editor/code_editor.h
+++ b/editor/code_editor.h
@@ -158,6 +158,7 @@ class CodeTextEditor : public VBoxContainer {
Label *info = nullptr;
Timer *idle = nullptr;
Timer *code_complete_timer = nullptr;
+ int code_complete_timer_line = 0;
Timer *font_resize_timer = nullptr;
int font_resize_val;