#11055
Stefan
Participant

Yutaka wrote:
Yes! You can use eeFindSelectAll, and it is already implemented on the latest beta version.

Perfect, thanks.


//needs EmEditor Professional v13 beta 10 (12.9.9)
findstring = prompt("text to find","");
ret = document.selection.Find("(?-s)^.*"+findstring+".*$",eeFindSelectAll | eeFindReplaceRegExp);
if(ret==0){status = "Nothing found"; alert("Nothing found: " + findstring);}

.