When no text is selected, running a macro using eeReplaceSelOnly causes “unspecified error”.
This macro worked fine in the past.
[Prompt when End of Document is Reached] is enabled;
document.selection.find(str, eeFindNext | eeFindAround);
When it prompts me, canceling the dialog causes “unspecified error”.
By the way,
Prompt when End of Document is Reached:
If this is checked, EmEditor will display a dialog box to prompt the user when Search reaches the end of the document.
According to this description, shouldn’t EmEditor also prompt the user even when the Around option is off?
When the sound is muted, I often ignore the message on the status bar, and do [Find Next] one or two more times, till I see it reached the end…