From 27f86d967cef13620101cff60a82c65302ee1877 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sat, 25 Jul 2020 23:59:12 -0400 Subject: 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. --- src/textadept.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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, -- cgit v1.2.3