From 6921a21d30a4b9f35fa1b8d06242deebab49dad0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 27 Aug 2020 19:54:49 -0400 Subject: Fixed restoring find & replace pane's replace text outside of "Find in Files". --- modules/textadept/find.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/textadept') diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua index 231159e2..e1e18e8e 100644 --- a/modules/textadept/find.lua +++ b/modules/textadept/find.lua @@ -204,6 +204,7 @@ local function find(text, next, flags, no_wrap, wrapped) view:vertical_center_caret() -- Track find text and found text for "replace all" and incremental find. find_text, found_text = text, buffer:get_sel_text() + repl_text = ui.find.replace_entry_text -- save for ui.find.focus() -- If nothing was found, wrap the search. if pos == -1 and not no_wrap then -- cgit v1.2.3