UltraEdit for Windows v26.00 and UEStudio v19.00 introduced the feature to highlight all occurrences of a double clicked word without holding
Shift. The behavior on highlighting all occurrences on double clicking a word without or with
Shift can be configured at
Advanced - Settings or Configuration - Search - Advanced in group
Highlight all occurrences of selected word on with the radio button options:
- Double-click
- Shift + double-click
- Disable
PJP, open
Advanced - Settings or Configuration - Search - Miscellaneous and uncheck setting
Find next/prev finds selected text (not last searched for text), or open
Find and Replace window with
Alt+F3 on using default key mapping and run a find with a checked option
Regular expressions. In both cases the
selected word at caret position of which all occurrences are highlighted after a
Shift+Double Click or execution of
Highlight all selected is not used as new string to find on executing
Find next, but last used find string respectively last used find expression independent on find expression contains any regular expression character at all.
I summarize the possible scenarios after using
Highlight all selected to highlight all occurrences of a word and which selects also the word at caret position:
- Find next/prev finds selected text (not last searched for text) is checked in configuration and last find was a non-regular expression find:
Find next searches for the selected word of which all occurrences are currently highlighted instead of last used find string and this results in removing the highlighting.
- Find next/prev finds selected text (not last searched for text) is not checked in configuration and last find was a non-regular expression find:
Find next ignores selected word of which all occurrences are currently highlighted and searches for next occurrence of last used find string. The highlights remain and next occurrence of last used find string is searched and selected on found in file.
- The last find was a regular expression find:
The configuration setting Find next/prev finds selected text (not last searched for text) is ignored on execution of Find next and so also the selected word. UltraEdit executes a regular expression Find next resulting in keeping the highlights and next match of the regular expression search string is selected on found in file.
It is important to understand that
highlighting (of all occurrences) of a word is something different than
selecting of a word. A find just
selects the found string matching the search string or search expression, except
Highlight all items found is also checked on tab
Find of
Find and Replace window in which case the found string is
additionally also
highlighted as well as all occurrences also matched by the search string or search expression. The execution of
Highlight all selected with whatever method and nothing currently highlighted results always in
selecting the word at caret position and
highlighting this word and all other occurrences of this word.