From 9d79d6c017a762a54b69cb85e3d139f8acbdaf2c Mon Sep 17 00:00:00 2001 From: Scott Sumner <30118311+sasumner@users.noreply.github.com> Date: Mon, 5 Aug 2019 13:28:09 -0400 Subject: [PATCH] Fix "preventing Find All Curr Doc working in macro" issue Fix #5973, close #6006 --- PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp index 2ca15f99..24ba1d5b 100644 --- a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp +++ b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp @@ -2679,7 +2679,7 @@ void FindReplaceDlg::execSavedCommand(int cmd, uptr_t intValue, const generic_st break; case IDC_FINDALL_CURRENTFILE: nppParamInst->_isFindReplacing = true; - findAllIn(FILES_IN_DIR); + findAllIn(CURRENT_DOC); nppParamInst->_isFindReplacing = false; break; case IDC_REPLACE_OPENEDFILES: