How to search selected text only?

Answered

Hi, before the search bar it seems to me we used to be able to search only on selected text via the search dialog.

I can't seem to find this feature anymore and if it doesn't exist I'd like to see it added back in.

I found such a feature useful for my workflow.

Can someone confirm if this feature is available in 9.x or not.

Thank you.

Martin

6 comments
Comment actions Permalink

Martin,

"Selection" is one of the options in the "Custom:" pop-up, when you select its (Custom's) radio button in the "Scope" section of the "Find in Path" dialog.


Randall Schulz

1
Comment actions Permalink

Good eye, not exactly a logical step to have "Selection" in "Search in Path" but hey.

It doesn't seem to be working completely however, I select the text, bring up the dialog box, fill in my values carefuly, select custom->Selection then I get "No occurences of  'My Text' found in Selection" even though it should match.

Attaching screen shot.

Any tips?

Thanks for the feedback.



Attachment(s):
test.png
0
Comment actions Permalink

Turns out that's not the current text selection, it's something related to custom scopes.

Sorry for the misdirection.


Randall Schulz

0
Comment actions Permalink

Here is a workaround:

ctrl+r - Replace Text dialog
Scope: Selected text

Hi Find button, ant then each time hit 'Skip' button to not do replacing but searching
F3 and ctrl+F3 will continue searching/replacing after you close this dialog

3
Comment actions Permalink

So it's 2019 and this is still the case. I guess we just won't ever get "Find in Selection"?

0

Please sign in to leave a comment.