From cd9f7612936c7ac803c925e0e956ec5f86faa7a0 Mon Sep 17 00:00:00 2001 From: Scott Sumner <30118311+sasumner@users.noreply.github.com> Date: Tue, 6 Aug 2019 14:32:14 -0400 Subject: [PATCH] Make backward-dir checkbox be shown on Find window's Mark tab Fix #5974, close #6016 --- PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp | 2 -- PowerEditor/src/ScitillaComponent/FindReplaceDlg.rc | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp index 7e5477ab8..2ca15f996 100644 --- a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp +++ b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp @@ -2466,8 +2466,6 @@ void FindReplaceDlg::enableMarkAllControls(bool isEnable) ::ShowWindow(::GetDlgItem(_hSelf, IDC_PURGE_CHECK),hideOrShow); ::ShowWindow(::GetDlgItem(_hSelf, IDC_CLEAR_ALL),hideOrShow); ::ShowWindow(::GetDlgItem(_hSelf, IDC_IN_SELECTION_CHECK), hideOrShow); - - ::ShowWindow(::GetDlgItem(_hSelf, IDC_BACKWARDDIRECTION), !hideOrShow); } void FindReplaceDlg::enableFindInFilesControls(bool isEnable) diff --git a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.rc b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.rc index 4a65abf59..91830504e 100644 --- a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.rc +++ b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.rc @@ -53,7 +53,7 @@ BEGIN CONTROL "In &hidden folders",IDD_FINDINFILES_INHIDDENDIR_CHECK, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,270,101,94,15 CONTROL "Book&mark line",IDC_MARKLINE_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,52,100,15 - CONTROL "Purge for each search",IDC_PURGE_CHECK,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,12,66,99,16 + CONTROL "Purge for each search",IDC_PURGE_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,64,99,15 PUSHBUTTON "Mark All",IDCMARKALL,268,20,91,14 GROUPBOX "",IDC_REPLACEINSELECTION,192,50,170,23 CONTROL "In select&ion",IDC_IN_SELECTION_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,200,58,59,10