June 8, 2017 at 2:30 am #21892
It’s a great pleasure to see the Find Toolbar has been built into the core and significantly enhanced compared to v10. Nice work!
After a while, it’s a little surprise to me that text entered in the Find/Replace dialogs is automatically synchronized into the Find toolbar, even if no find or replace is performed (just press Esc). On the other hand, text endtered in the Find toolbar is not synchronized back into the Find/Replace dialogs. (This inconsistency is not that important, though.) EmEditor v10 didn’t synchronize in either direction.
I’ve been a fond user of the Find toolbar since ever, in the same way as old VC6’s Ctrl-D. It always stays visible, reminding me of something important in a quiet yet convenient manner. It’s a varible that changes when I opt to (control freak here…). In contrast, the Find/Replace dialogs auto-fills the search phrase and are far less stable. It feels so streamlined to do something ad-hoc with the dialogs and return to the editor with Find toolbar untouched. But the automatic synchronization totally defeats this habit with no obvious benefit.
Is it possible to add an option to disable such synchronization, please?
Thanks a million.June 8, 2017 at 11:07 am #21900
I just need to clarify. Do you want the Find toolbar history (and the currently visible string in the Find toolbar) NOT copied from the Find dialog box?June 8, 2017 at 7:27 pm #21914
Right. I think the Find toolbar’s current value and history should not (better not) be modified whenever Ctrl-F or Ctrl-H is used.
When these Find/Replace utilities were designed, what’s the assumed way to differentiate between them? Here is my habit:
Use the Find toolbar for “valuable search”, including:
– Phrases used again and again, like “TODO” in the source code.
– Something hard to get right at once, like regular expressions. (Edited elsewhere and pasted into Find toolbar.)
– Quick short memo, noticeable whenever I raise my eyes or press Ctrl-D. (Dangerous abuse, but it works perfectly.)
On the other hand, Ctrl-F is also used often, but mostly for one-shot things. Its current value (and history) mean much less, partly because it’s hidden for most of the time, and partly because it automatically picks up the word at caret. (For v10, there may be a bug with the Find dialog that causes some regexp search phrases to be lost in the history. But that has become history. 🙂 )
Therefore, synchronizing values in between totally destroys this habit, with seemingly no benefit in return.
I sincerely wish there could be an option to stop it. After using v16.9 for one day I’ve become deeply afraid of Ctrl-F and Ctrl-H. 🙂June 8, 2017 at 8:34 pm #21917
And sorry for making it this long, twice. But it’s a real pain to see Find toolbar’s content dance around. 🙁June 12, 2017 at 12:50 am #21934
If this could be implemented, please don’t synchronize Find/Replace flags either. There is real benefit in optionally keeping these Find/Replace utilities independent of each other. Thanks again.June 12, 2017 at 10:15 am #21936
I understand that you want two histories (Find dialog box and Find toolbar) completely separately saved.July 11, 2017 at 5:02 pm #22030
Added the Synchronize History with Find/Replace Dialog Boxes check box to the Search page of the Customize dialog box on v17.0.0 beta 2.August 17, 2017 at 4:26 am #22268
I just found a bug with this feature (v17.0.2). To reproduce:
1. Disable the synchronization.
2. Ctrl+F, type “hello”, and hit enter. “hello” won’t appear in the Find toolbar. Nice!
3. Close EmEditor and reopen it.
4. “hello” appears in the Find toolbar.August 17, 2017 at 8:52 am #22270
This option does NOT completely separate those two histories (Find dialog box and Find toolbar) as there is only one container to save. Therefore, these two histories will be eventually merged into one. I will think about making them completely separate in future versions.August 20, 2017 at 6:12 am #22288
Currently, if disable synchronization, it will cause another side effect.
For example, two lines of “abcdef”, and Find Dialog Box “>” button : Find drop-down list box = “Selected Text”
1. Use Find Toolbar to find “abc”
2. Press Ctrl + F, use Find Dialog Box to find “def”
3. Close Find Dialog Box
4. Press F3, expect to find the previously searched string “def“, but it will find “abc“.
5. Besides, Press Ctrl + F again, click “V” button try to get back Find history, but the previously searched string “def” is gone.
You must be logged in to reply to this topic.