There is currently in UE v220.127.116.11 no configuration setting to control matching behavior for command Highlight All Selected
But I could imagine that a configuration setting to use match whole word only
if just all occurrences of a single word should be highlighted (in comparison to current selection as also possible with UE v22.10) would be a good enhancement in same use cases. But this matching behavior should be really controlled by a configuration setting as it makes also often sense to use Highlight All Selected
without a match whole word only
I suggest to send an appropriate enhancement request by email to IDM support.
I usually do not send an enhancement request to IDM support when I'm not interested in this enhancement by myself. But this time I just sent following to IDM support:
Mofi wrote:Highlight All Selected used to find and highlight all occurrences of a single word could run a find with option "match whole word only" depending on a configuration setting at "Configuration - Search - Advanced" for example called:
Highlighting all words matches whole word only
Instead of running on Shift+Double Click or execution of "View - Highlight All Selected" with nothing currently selected or highlighted a find with standard options to find all occurrences of the word anywhere in file including larger words as by default, the matching behavior with this configuration setting checked changes to match only whole words under cursor respectively caret position.
Independent on status of this configuration setting, the execution of "View - Highlight All Selected" with no highlighting active, but there is a selection, the find for all occurrences of the selected text should be without find option match whole word only.
The ultimate solution would be to analyze context of selection. If the selection matches currently just a single word as left and right of the
selected text are non word characters and the selected text consists of only word characters (letters, digits and underscore), the find could be also with option match whole word only if the configuration setting is enabled. So Highlight All Selected feature would be coded so smart that it finds out if just a single word is selected or a larger string to decide if find should be with match whole word only in case of the configuration setting is enabled at all.
But I'm quite sure that many users want a Highlight All Selected behavior for word at current position of caret respectively double clicked word without matching whole word only and therefore strongly recommend to add such an enhancement for highlighting all occurrences of a word only with a configuration setting to control matching behavior by the user.
Best regards from an UC/UE/UES for Windows user from Austria