From 0135ebfa879af50f19ddc1495a36be3c030a6326 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Tue, 9 Feb 2021 14:38:59 -0500 Subject: find + replace seems to be working --- ted.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ted.h') 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; -- cgit v1.2.3