diff options
author | 2020-08-27 19:54:49 -0400 | |
---|---|---|
committer | 2020-08-27 19:54:49 -0400 | |
commit | 6921a21d30a4b9f35fa1b8d06242deebab49dad0 (patch) | |
tree | 78a09021298a4ae21fbb2e6cb492efababe4f372 /modules/textadept/find.lua | |
parent | 39a2cab4bfe90e17a4ca0970acb758b0238b12de (diff) | |
download | textadept-6921a21d30a4b9f35fa1b8d06242deebab49dad0.tar.gz textadept-6921a21d30a4b9f35fa1b8d06242deebab49dad0.zip |
Fixed restoring find & replace pane's replace text outside of "Find in Files".
Diffstat (limited to 'modules/textadept/find.lua')
-rw-r--r-- | modules/textadept/find.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |