mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+fix: FocusView preserved on closing Find/Replacce dialog (add missing checks)
This commit is contained in:
parent
f07a052ac0
commit
c51458558b
@ -1 +1 @@
|
||||
1726
|
||||
1727
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<assemblyIdentity
|
||||
name="Notepad3"
|
||||
processorArchitecture="*"
|
||||
version="5.19.526.1726"
|
||||
version="5.19.526.1727"
|
||||
type="win32"
|
||||
/>
|
||||
<description>Notepad3 RC</description>
|
||||
|
||||
@ -5260,8 +5260,13 @@ static INT_PTR CALLBACK EditFindReplaceDlgProcW(HWND hwnd,UINT umsg,WPARAM wPara
|
||||
// check if we had to revert FocusedView
|
||||
if (FocusedView.HideNonMatchedLines) {
|
||||
if (!IsMarkOccurrencesEnabled() ||
|
||||
SciCall_IsSelectionEmpty() ||
|
||||
Settings.MarkOccurrencesMatchVisible ||
|
||||
(Settings.MarkOccurrencesMatchWholeWords != IsButtonChecked(hwnd, IDC_FINDWORD)))
|
||||
IsButtonChecked(hwnd, IDC_FINDSTART) ||
|
||||
IsButtonChecked(hwnd, IDC_FINDREGEXP) ||
|
||||
IsButtonChecked(hwnd, IDC_WILDCARDSEARCH) ||
|
||||
(Settings.MarkOccurrencesMatchWholeWords != IsButtonChecked(hwnd, IDC_FINDWORD)) ||
|
||||
(Settings.MarkOccurrencesMatchCase != IsButtonChecked(hwnd, IDC_FINDCASE)))
|
||||
{
|
||||
EditToggleView(sg_pefrData->hwnd);
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 19
|
||||
#define VERSION_REV 526
|
||||
#define VERSION_BUILD 1726
|
||||
#define VERSION_BUILD 1727
|
||||
#define SCINTILLA_VER 415+
|
||||
#define ONIGMO_REGEX_VER 6.2.0
|
||||
#define VERSION_PATCH RC
|
||||
|
||||
Loading…
Reference in New Issue
Block a user