Disable RegExpr up direction search
This commit is contained in:
parent
2b713fb75b
commit
5a951531ad
|
@ -1229,7 +1229,7 @@ Find in all files except exe, obj && log:
|
|||
<find-status-replaceall-readonly value="Replace All: Cannot replace text. The current document is read only"/>
|
||||
<find-status-replace-end-reached value="Replace: Replaced the 1st occurrence from the top. The end of document has been reached"/>
|
||||
<find-status-replace-top-reached value="Replace: Replaced the 1st occurrence from the bottom. The begin of document has been reached"/>
|
||||
<find-status-replaced-next-found value="Replace: 1 occurrence was replaced. The next occurrence found"/>
|
||||
<find-status-replaced-next-found value="Replace: 1 occurrence was replaced. The next occurrence found."/>
|
||||
<find-status-replaced-next-not-found value="Replace: 1 occurrence was replaced. No more occurrences were found."/>
|
||||
<find-status-replace-not-found value="Replace: no occurrence was found"/>
|
||||
<find-status-replace-readonly value="Replace: Cannot replace text. The current document is read only"/>
|
||||
|
|
|
@ -1229,7 +1229,7 @@ Find in all files except exe, obj && log:
|
|||
<find-status-replaceall-readonly value="Replace All: Cannot replace text. The current document is read only"/>
|
||||
<find-status-replace-end-reached value="Replace: Replaced the 1st occurrence from the top. The end of document has been reached"/>
|
||||
<find-status-replace-top-reached value="Replace: Replaced the 1st occurrence from the bottom. The begin of document has been reached"/>
|
||||
<find-status-replaced-next-found value="Replace: 1 occurrence was replaced. The next occurrence found"/>
|
||||
<find-status-replaced-next-found value="Replace: 1 occurrence was replaced. The next occurrence found."/>
|
||||
<find-status-replaced-next-not-found value="Replace: 1 occurrence was replaced. No more occurrences were found."/>
|
||||
<find-status-replace-not-found value="Replace: no occurrence was found"/>
|
||||
<find-status-replace-readonly value="Replace: Cannot replace text. The current document is read only"/>
|
||||
|
|
|
@ -343,7 +343,8 @@ void FindReplaceDlg::fillFindHistory()
|
|||
::EnableWindow(::GetDlgItem(_hSelf, IDWHOLEWORD), (BOOL)false);
|
||||
|
||||
//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)
|
||||
::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);
|
||||
|
||||
//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);
|
||||
return TRUE; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue