Skip to content

Commit

Permalink
Fix Ctrl-C not doing copy from Search result issue (part 2)
Browse files Browse the repository at this point in the history
Fix using F7 to switch in Search results not working with Ctrl-C issue.

Ref: notepad-plus-plus#15739 (comment)
  • Loading branch information
donho committed Nov 19, 2024
1 parent af2b90f commit 8f0484c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions PowerEditor/src/ScintillaComponent/FindReplaceDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5633,6 +5633,12 @@ intptr_t CALLBACK Finder::run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam
{
case WM_COMMAND :
{
if (HIWORD(wParam) == SCEN_SETFOCUS)
{
::SendMessage(_hParent, NPPM_INTERNAL_CHECKUNDOREDOSTATE, 0, 0);
return TRUE;
}

switch (wParam)
{
case NPPM_INTERNAL_FINDINFINDERDLG:
Expand Down

0 comments on commit 8f0484c

Please sign in to comment.