summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-08 13:47:53 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-08 13:47:53 -0500
commitaa862462008e647cc4e87fd4618fe5dc5af1076d (patch)
tree76a4ca76c70b64f9b7f8be3fbf5177d4b67d476f /ted.h
parent84f650da7824e1600479b54a4b75d56e9e59e06b (diff)
scroll to find match
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 3694858..83c5071 100644
--- a/ted.h
+++ b/ted.h
@@ -220,6 +220,7 @@ typedef struct Ted {
bool quit; // if set to true, the window will close next frame. NOTE: this doesn't check for unsaved changes!!
bool find; // is the find menu open?
u32 find_match_count; // how many matches of the search term were there?
+ bool find_invalid_pattern; // invalid regex?
Command warn_unsaved; // if non-zero, the user is trying to execute this command, but there are unsaved changes
char warn_unsaved_names[TED_PATH_MAX]; // comma-separated list of files with unsaved changes (only applicable if warn_unsaved != 0)
char warn_overwrite[TED_PATH_MAX]; // file name user is trying to overwrite