The configuration option on the Find tab - [x] Find Next/Prev finds selected text (not last searched for text) does not work. It always finds the text last searched for.
Anyone have an idea how to get this to work? I use the Find Next/Prev from the toolbar all the time to look for strings.
I'm not sure. The only thing I can think of is that if you're doing an RE search, you wouldn't want the Find Next/Prev to change the search to the last thing it found (highlighted text), you want it to continue using the RE. UE probably can't tell that you're finished with the RE search and now really want to use the highlighted text.
Unchecking "Regular Expressions" fixed it but I'm pretty sure I've always had that checked or at the very least it has been checked at least some of the time over the last 8 years I've used UE. I've never seen this problem before and I've always used search in this way. Am I just imagining that?
In the options dialog under "search", you can specify if the highlighted text is the default search string - or not, as I suppose in your case.
Perhaps you toggled it?
rds Bego
Normally using all newest english version incl. each hotfix. Win 10 64 bit
Thanks - in my original post I mention a screenshot which did not attach for some reason. I do already have "Find dialog defaults to word under cursor" checked. Unchecking "Regular Expressions" in the Find dialog did fix my problem but, as I wrote in a previous reply, I'm not sure why since I've had that checked in the past and never saw this problem before.
The configuration option you are talking about is not Find dialog defaults to word under cursor.
You are talking about Find Next/Prev finds selected text (not last searched for text).
If you have checked regular expression, F3 always searches down with this regular expression and not the string currently highlighted. This is unchanged since first version of UltraEdit supporting regular expression search.
Well, if you have started a regular expression search and after first found you do not modify the selection marked by the initial search and continue with F3 the search, you maybe will again find the same word, especially if you have not really entered a regular expression search string.
The regular expression option will not have a search influence if you search for example for "hello". "hello" does not contain a regular expression character. So the searches with option regular expression checked or unchecked return the same find results.
But if regular expression is checked and you select with the mouse a different phrase like "hello moosemanct" and press now F3 (find next), the search down still searches for "hello" because of regular expression is still checked. If regular expression is not checked on initial search for "hello" and you now select "hello moosemanct" and press F3, then "hello moosemanct" is searched in downwards if the configuration option I mentioned at top of this article is set.
Best regards from an UC/UE/UES for Windows user from Austria