0

In the Delphi 12.2 IDE, if I select something to search for, then hit CtrlF, the Search selection checkbox automatically gets checked (as does the Entire Scope checkbox, but that does not bother me):

enter image description here

The result is that I always get an initial hit on what I just selected. Is there a way to prevent that (waste of time)?

1 Answer 1

1

Once you find it is easy:

Just don't select the word you want to find. Put the cursor in it, then search. The whole word will still be searched for but the checkbox remains blank:

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

Both things work like this since at least Delphi 7 (2002) - you don't even need to "put the cursor in it" - you can even leave the text cursor at the start of a word/text (as usual when doing Ctrl+Left/Right).
@AmigoJack: Yes, that's how I do it. Ctrl+Left to the beginning of the identifier, then Ctrl+F.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.