I just noticed there is a serious glitch in Find and Replace, when operation range is set to selection; count usually doesn't work (shows 0 hits), and preview window shows random results (sometimes 0, sometimes some). Replacement is never done, and result dialog shows random number of (purportedly) replaced items. (I'm using Find window in the latest beta.)
...Well, turns out sometimes it does work, but then the very first element isn't replaced (nor counted) anyway.
Btw, IIRC Find and Replace used to retained the last used range, now each time this defaults to "Global"; could you please make it remember the range again?
FIXED? Find/Replace in selection works unstably
FIXED? Find/Replace in selection works unstably
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
- Rickard Johansson
- Site Admin
- Posts: 6661
- Joined: 19 Jul 2006 14:29
Re: Find/Replace in selection works unstably
I tried with some different options but I can't reproduce the issue. I did find a count problem with the option "Match whole word", but nothing else...
Re: Find/Replace in selection works unstably
I can't reproduce the issue regularly; sometimes it works, sometimes it doesn't. Perhaps you could try once more with these settings: open a file with at least 10 lines, select three last ones, ^R, search for just one char present on each line, range: selection, No output, no other settings, Count: it shows number of characters minus one, e.g.
Select last three lines and count colons in your selection; I got repeatedly two instead of three.
Code: Select all
one
two
three
four
five
six:
seven:
eight:
nine:
ten:
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
- Rickard Johansson
- Site Admin
- Posts: 6661
- Joined: 19 Jul 2006 14:29
Re: Find/Replace in selection works unstably
The count issue in selection has been fixed...
- Rickard Johansson
- Site Admin
- Posts: 6661
- Joined: 19 Jul 2006 14:29
Re: Find/Replace in selection works unstably
If some of your problems occurred in Unix/Linux files I may have fixed your other issues as well.
Re: Find/Replace in selection works unstably
Thank you! I use Unix/Linux newlines almost exclusively, so I hope these errors are gone, too.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus