mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-22 21:34:58 +02:00
Add ESC key in Function List to switch to edit window
Fix #8886, close #8890
This commit is contained in:
parent
de202d9a14
commit
aaa93025f0
@ -575,6 +575,10 @@ void FunctionListPanel::notified(LPNMHDR notification)
|
|||||||
}
|
}
|
||||||
PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast<LPARAM>((*_ppEditView)->getHSelf()));
|
PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast<LPARAM>((*_ppEditView)->getHSelf()));
|
||||||
}
|
}
|
||||||
|
else if (ptvkd->wVKey == VK_ESCAPE)
|
||||||
|
{
|
||||||
|
PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast<LPARAM>((*_ppEditView)->getHSelf()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user