Error conditions and effect
This seems to be a mistake, or at least an intuitive behavior that occurs only when the search string is opened (after pressing ctrl + F , etc.) and you selected the part of the word that was not yet a string in the "Search" field (for example , you searched TOP before, and then you selected GRID).
It seems that the error is related to the specific find_under_expand behavior during the search. In search mode, he will fill in the “Search” field with the whole word under the carriage on the first call, and then start the search and add more cases for selection. But he has some inconsistencies. For example, if you click on different words one after another, pressing ctrl + D after each click, and it always fills the "Search" field with a word, but as an alternative does not select the word and select it.
When you select a subword, it gets worse, and only the first sublayer is highlighted the first time you press ctrl + D. The next time you get a combination of filling in the "Search" field, the cursor goes to the end of the word and expands the selection (behavior that makes sense on one and the complete word), which leads to the selection of the first two words, with the second word ( GRID_SPACING ), filling in the field search.
Bypass
Solution 1
Close the search bar with esc , and then use ctrl + D / Find > Quick Add Next several times. Please note that the selection will not be highlighted as the search string (yellow in the default theme), but only as the usual selection highlight (gray in the default theme).
Decision 2
If after your first ctrl + D you realized that your search bar is open (and the "Search" field did not previously contain the target subword), it's not too late. Press ctrl + U / Edit > Undo Selection > Soft Undo to return to the original subword. From here use ctrl + D several times. With the Search field containing the target subword, the selection will behave as expected.
source share