EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     eeFindSaveHistory seems not working in v12
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
LTT
Posted on: 10/12/2012 5:22 pm
Just can't stay away
Joined: 10/11/2006
From:
Posts: 84
eeFindSaveHistory seems not working in v12
For example:
nFound = document.selection.Find( "aaa",  eeFindNext | eeFindSaveHistory );

After running this macro, the current word to find doesn't change to "aaa".
Yutaka
Posted on: 10/12/2012 6:35 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: eeFindSaveHistory seems not working in v12
Hello,

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!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

LTT
Posted on: 10/12/2012 10:39 pm
Just can't stay away
Joined: 10/11/2006
From:
Posts: 84
Re: eeFindSaveHistory seems not working in v12
Thank 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.
Yutaka
Posted on: 10/13/2012 2:08 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: eeFindSaveHistory seems not working in v12
Hello,

I will fix the "Set Word to Find/Replace" issue for the next minor version. Thank you!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

LTT
Posted on: 10/29/2012 9:17 pm
Just can't stay away
Joined: 10/11/2006
From:
Posts: 84
Re: eeFindSaveHistory seems not working in v12
+ Yet another case:
editor.FindInFiles ... eeFindSaveHistory ...
Yutaka
Posted on: 11/5/2012 10:05 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: eeFindSaveHistory seems not working in v12
I will look into the code.

Thanks!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

LTT
Posted on: 11/12/2012 9:33 am
Just can't stay away
Joined: 10/11/2006
From:
Posts: 84
Re: eeFindSaveHistory seems not working in v12
document.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 Bar

Even the Quiet status persists. Use Find Next/Previous manually, if not found, no message on the status bar.
Yutaka
Posted on: 11/12/2012 2:45 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: eeFindSaveHistory seems not working in v12
Hello,

I reproduced this issue, and it will be fixed on the next version.

Thanks!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

LTT
Posted on: 12/11/2012 7:41 am
Just can't stay away
Joined: 10/11/2006
From:
Posts: 84
Re: eeFindSaveHistory seems not working in v12
These two issues are not fixed:

Quote:

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.


Quote:
editor.FindInFiles ... eeFindSaveHistory ...


And there is no index for "eeFindSaveHistory" in FindInFiles/ReplaceInFiles.
Yutaka
Posted on: 12/12/2012 8:12 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2399
Re: eeFindSaveHistory seems not working in v12
Hello LTT,

I will fix the first issue.

As for the second issue, eeFindSaveHistory is not supported in Find/Replace in Files.

Thanks!



----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

(1) 2 »
Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文