aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/textadept.c
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-07-25 23:59:12 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-07-25 23:59:12 -0400
commit27f86d967cef13620101cff60a82c65302ee1877 (patch)
treece17eee9322ece597eebe6ab0f2c267ebe5448ea /src/textadept.c
parentdfcb98978d6fba1d9a79279d01b05cc2fd184556 (diff)
Find & Replace Pane now allows file filters to be specified for Find in Files.
Also updated `ui.find.focus()` to accept an optional table of options (e.g. in_files, incremental, etc.) for convenience.
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textadept.c b/src/textadept.c
index c30899e2..b24753d9 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -422,10 +422,10 @@ static int focus_find(lua_State *L) {
int e_width = COLS - o_width - b_width - l_width - 1;
find_entry = newCDKEntry(
findbox, l_width - strlen(find_label), TOP, NULL, find_label, A_NORMAL, '_',
- vMIXED, e_width, 0, 64, false, false);
+ vMIXED, e_width, 0, 1024, false, false);
repl_entry = newCDKEntry(
findbox, l_width - strlen(repl_label), BOTTOM, NULL, repl_label, A_NORMAL,
- '_', vMIXED, e_width, 0, 64, false, false);
+ '_', vMIXED, e_width, 0, 1024, false, false);
CDKBUTTONBOX *buttonbox, *optionbox;
buttonbox = newCDKButtonbox(
findbox, COLS - o_width - b_width, TOP, 2, b_width, NULL, 2, 2,