summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-09 14:38:59 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-09 14:38:59 -0500
commit0135ebfa879af50f19ddc1495a36be3c030a6326 (patch)
tree080d209c633adc52560839ef2381b4fd1959a752 /ted.h
parent7be42dc83ff694da2f1e66a59a14fe51d3e18fba (diff)
find + replace seems to be working
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ted.h b/ted.h
index be41ac8..b1d5554 100644
--- a/ted.h
+++ b/ted.h
@@ -226,7 +226,8 @@ typedef struct Ted {
KeyAction key_actions[KEY_COMBO_COUNT];
bool search_cwd; // should the working directory be searched for files? set to true if the executable isn't "installed"
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?
+ bool find; // is the find or find+replace menu open?
+ bool replace; // is the find+replace menu open?
bool find_regex, find_case_sensitive; // find options
u32 find_flags; // flags used last time search term was compiled
pcre2_code *find_code;