Make Select and Find (Next or Previous) always in Normal search mode

Fix #3229, close #13155
pull/13195/head
Alan Kilborn 2023-02-16 20:59:47 -05:00 committed by Don Ho
parent 3f3aed43ed
commit 1b65cc0104
1 changed files with 1 additions and 0 deletions

View File

@ -1335,6 +1335,7 @@ void Notepad_plus::command(int id)
_nativeLangSpeaker.changeFindReplaceDlgLang(_findReplaceDlg); _nativeLangSpeaker.changeFindReplaceDlgLang(_findReplaceDlg);
FindOption op = _findReplaceDlg.getCurrentOptions(); FindOption op = _findReplaceDlg.getCurrentOptions();
op._searchType = FindNormal;
op._whichDirection = (id == IDM_SEARCH_SETANDFINDNEXT?DIR_DOWN:DIR_UP); op._whichDirection = (id == IDM_SEARCH_SETANDFINDNEXT?DIR_DOWN:DIR_UP);
FindStatus status = FSNoMessage; FindStatus status = FSNoMessage;