summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-23 14:30:49 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-23 14:30:49 -0500
commit88f7f5f8675a15d567837bd076e39e09bfe1aa74 (patch)
tree2b12ed6c901fbed71abe88a5420c5e2841155b6f /ted.h
parentf4172376d933c5c9033ff421f04db828825f9017 (diff)
goto line preview
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 2ca308f..d629dd5 100644
--- a/ted.h
+++ b/ted.h
@@ -272,6 +272,9 @@ typedef struct Ted {
BuildError *build_errors; // dynamic array of build errors
u32 build_error; // build error we are currently "on"
+
+ // used by menus to keep track of the scroll position so we can return to it.
+ v2d prev_active_buffer_scroll;
char **tag_selector_entries; // an array of all tags (see tag_selector_open)