diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-08 13:47:53 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-08 13:47:53 -0500 |
commit | aa862462008e647cc4e87fd4618fe5dc5af1076d (patch) | |
tree | 76a4ca76c70b64f9b7f8be3fbf5177d4b67d476f /ted.h | |
parent | 84f650da7824e1600479b54a4b75d56e9e59e06b (diff) |
scroll to find match
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |