|
|
@ -343,7 +343,8 @@ void FindReplaceDlg::fillFindHistory()
|
|
|
|
::EnableWindow(::GetDlgItem(_hSelf, IDWHOLEWORD), (BOOL)false);
|
|
|
|
::EnableWindow(::GetDlgItem(_hSelf, IDWHOLEWORD), (BOOL)false);
|
|
|
|
|
|
|
|
|
|
|
|
//regex upward search is disable in v6.3 due to a regression
|
|
|
|
//regex upward search is disable in v6.3 due to a regression
|
|
|
|
//::EnableWindow(::GetDlgItem(_hSelf, IDC_FINDPREV), (BOOL)false);
|
|
|
|
::EnableWindow(::GetDlgItem(_hSelf, IDC_FINDPREV), (BOOL)false);
|
|
|
|
|
|
|
|
::EnableWindow(::GetDlgItem(_hSelf, IDC_BACKWARDDIRECTION), (BOOL)false);
|
|
|
|
|
|
|
|
|
|
|
|
// If the search mode from history is regExp then enable the checkbox (. matches newline)
|
|
|
|
// If the search mode from history is regExp then enable the checkbox (. matches newline)
|
|
|
|
::EnableWindow(GetDlgItem(_hSelf, IDREDOTMATCHNL), true);
|
|
|
|
::EnableWindow(GetDlgItem(_hSelf, IDREDOTMATCHNL), true);
|
|
|
@ -1416,6 +1417,7 @@ INT_PTR CALLBACK FindReplaceDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM
|
|
|
|
::EnableWindow(::GetDlgItem(_hSelf, IDWHOLEWORD), (BOOL)!isRegex);
|
|
|
|
::EnableWindow(::GetDlgItem(_hSelf, IDWHOLEWORD), (BOOL)!isRegex);
|
|
|
|
|
|
|
|
|
|
|
|
//regex upward search is disable in v6.3 due to a regression
|
|
|
|
//regex upward search is disable in v6.3 due to a regression
|
|
|
|
|
|
|
|
::EnableWindow(::GetDlgItem(_hSelf, IDC_FINDPREV), (BOOL)!isRegex);
|
|
|
|
::EnableWindow(::GetDlgItem(_hSelf, IDC_BACKWARDDIRECTION), (BOOL)!isRegex);
|
|
|
|
::EnableWindow(::GetDlgItem(_hSelf, IDC_BACKWARDDIRECTION), (BOOL)!isRegex);
|
|
|
|
return TRUE; }
|
|
|
|
return TRUE; }
|
|
|
|
|
|
|
|
|
|
|
|