diff --git a/PowerEditor/installer/nativeLang/english.xml b/PowerEditor/installer/nativeLang/english.xml index 874e01746..3f55a1ed4 100644 --- a/PowerEditor/installer/nativeLang/english.xml +++ b/PowerEditor/installer/nativeLang/english.xml @@ -1274,6 +1274,7 @@ Find in all files except exe, obj && log: + diff --git a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp index 2bc38fd39..cce6a6ab1 100644 --- a/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp +++ b/PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp @@ -1769,7 +1769,10 @@ bool FindReplaceDlg::processFindNext(const TCHAR *txt2find, const FindOption *op // Show a calltip for a zero length match if (start == end) { - (*_ppEditView)->execute(SCI_CALLTIPSHOW, start, reinterpret_cast("^ zero length match")); + NativeLangSpeaker* pNativeSpeaker = (NppParameters::getInstance()).getNativeLangSpeaker(); + generic_string msg = pNativeSpeaker->getLocalizedStrFromID("find-regex-zero-length-match", TEXT("zero length match")); + msg = TEXT("^ ") + msg; + (*_ppEditView)->showCallTip(start, msg.c_str()); } if (::SendMessage(_hParent, WM_GETCURRENTMACROSTATUS,0,0) == MACRO_RECORDING_IN_PROGRESS) (*_ppEditView)->execute(SCI_STARTRECORD);