diff --git a/PowerEditor/src/WinControls/FunctionList/functionListPanel.cpp b/PowerEditor/src/WinControls/FunctionList/functionListPanel.cpp index 04a9bc686..ef5fc36b3 100644 --- a/PowerEditor/src/WinControls/FunctionList/functionListPanel.cpp +++ b/PowerEditor/src/WinControls/FunctionList/functionListPanel.cpp @@ -608,6 +608,7 @@ void FunctionListPanel::notified(LPNMHDR notification) } else if (ptvkd->wVKey == VK_ESCAPE) { + ::SendMessage(_hSearchEdit, WM_SETTEXT, 0, reinterpret_cast(TEXT(""))); SetWindowLongPtr(_hSelf, DWLP_MSGRESULT, 1); // remove beep PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast((*_ppEditView)->getHSelf())); }