I regularly want to replace items just in a selection. It should be straightforward but either I am doing something wrong or there is a bug. Lets work through the sequence I am trying.
I type in some text.
I have learnt not to select the text at this point as the selection is removed by the next step.
I type ctrl-H
I type the text I want to replace in Find:
I type the replacement text after Replace:
I select the text where I want the replacement to happen.
I click on the box which enables replacement “in selection” only. It would be nice if this was default when there is some text selected.
I click “Replace All”
The dialog disappears but no text is replaced.
I click ctrl-H again
I select the text again
I click “in selection” again
I click “Replace All”
This time the text IS replaced.
It seem to work every second time I try it.