- AuthorPosts
- October 13, 2012 at 1:22 am #10579LTTParticipant
For example:
nFound = document.selection.Find( "aaa", eeFindNext | eeFindSaveHistory );
After running this macro, the current word to find doesn’t change to “aaa”.
October 13, 2012 at 2:35 am #10580Yutaka EmuraKeymasterHello,
The issue is that if the Find Bar or Find dialog box is visible, the contents in the Find Bar or Find dialog box has higher priority to determine the search string when F3 is pressed. I will try to synchronize the contents of Find Bar when this macro is run on the next minor version. Meanwhile, please hide the Find Bar.
Thanks!
October 13, 2012 at 6:39 am #10581LTTParticipantThank you.
+ other cases:
When the Find Bar is visible and “Set Word to Find/Replace” command is triggered…And, how about adding a “Freeze” option (button) on the Find Bar? — So one can keep the contents of Find Bar, unless he changes them manually.
October 13, 2012 at 10:08 pm #10582Yutaka EmuraKeymasterHello,
I will fix the “Set Word to Find/Replace” issue for the next minor version. Thank you!
October 30, 2012 at 5:17 am #10616LTTParticipant+ Yet another case:
editor.FindInFiles … eeFindSaveHistory …November 5, 2012 at 7:05 pm #10622Yutaka EmuraKeymasterI will look into the code.
Thanks!
November 12, 2012 at 6:33 pm #10624LTTParticipantdocument.selection.Find( "strFind", eeFindNext | eeFindSaveHistory | eeFindReplaceQuiet );
After this is run, all the options that belong to [Find/Replace in Files] now are cleared:
Display File Names Only
Keep Modified Files Open
Look in Subfolders
Save Backups
Use Output BarEven the Quiet status persists. Use Find Next/Previous manually, if not found, no message on the status bar.
November 12, 2012 at 11:45 pm #10625Yutaka EmuraKeymasterHello,
I reproduced this issue, and it will be fixed on the next version.
Thanks!
December 11, 2012 at 4:41 pm #10659LTTParticipantThese two issues are not fixed:
document.selection.Find( "strFind", eeFindNext | eeFindSaveHistory | eeFindReplaceQuiet );
Even the Quiet status persists. Use Find Next/Previous manually, if not found, no message on the status bar.
editor.FindInFiles … eeFindSaveHistory …
And there is no index for “eeFindSaveHistory” in FindInFiles/ReplaceInFiles.
December 12, 2012 at 5:12 pm #10660Yutaka EmuraKeymasterHello LTT,
I will fix the first issue.
As for the second issue, eeFindSaveHistory is not supported in Find/Replace in Files.
Thanks!
December 13, 2012 at 6:02 am #10661LTTParticipantThanks!
(eeFindSaveHistory)
So the CHM should be revised:
http://www.emeditor.com/help/macro/editor/editor_findinfiles.htm
http://www.emeditor.com/help/macro/editor/editor_replaceinfiles.htmDecember 13, 2012 at 7:08 pm #10663Yutaka EmuraKeymasterHello LTT,
OK. eeFindSaveHistory will be supported on Find/ReplaceInFiles in the next version.
Thanks!
- AuthorPosts
- You must be logged in to reply to this topic.