mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 02:43:09 +00:00
[NOTEPAD] Shift+F3 for backward search (#5101)
- Add Shift+F3 accelerator as command CMD_SEARCH_PREV. - Extend DIALOG_SearchNext function with bDown argument for the action of CMD_SEARCH_PREV. - Modify the message loop for effective F3 key on Find/Replace dialog. CORE-17064
This commit is contained in:
parent
a9b1e059f4
commit
55e3feba53
44 changed files with 58 additions and 8 deletions
|
@ -1070,8 +1070,13 @@ VOID DIALOG_Search(VOID)
|
|||
DIALOG_SearchDialog(FindText);
|
||||
}
|
||||
|
||||
VOID DIALOG_SearchNext(VOID)
|
||||
VOID DIALOG_SearchNext(BOOL bDown)
|
||||
{
|
||||
if (bDown)
|
||||
Globals.find.Flags |= FR_DOWN;
|
||||
else
|
||||
Globals.find.Flags &= ~FR_DOWN;
|
||||
|
||||
if (Globals.find.lpstrFindWhat != NULL)
|
||||
NOTEPAD_FindNext(&Globals.find, FALSE, TRUE);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue