diff options
author | pommicket <pommicket@gmail.com> | 2022-12-23 18:57:41 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-23 18:57:41 -0500 |
commit | eb7519e92f768224803ab66985541c99bddc2bf0 (patch) | |
tree | 53a414205020cad9e8fcd2d8436e30cfae872a6e /ted.h | |
parent | 431a785f20127a7f1b6c1a6f1cd2a5031a7236ca (diff) |
scroll through completions
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -390,6 +390,8 @@ typedef struct { u32 *suggested; // dynamic array of completions to be suggested (indices into completions) BufferPos last_pos; // position of cursor last time completions were generated. if this changes, we need to recompute completions. i32 cursor; // which completion is currently selected (index into suggested) + i32 scroll; + Rect rect; // rectangle where the autocomplete menu is (needed to avoid interpreting autocomplete clicks as other clicks) } Autocomplete; |