Paul
Paul

Reputation: 26650

Replace selected found text in Delphi 10 RAD Studio editor

Requirements:

We have a text in Delphi RAD Studio editor and this text has been selected as a search result.

What happens

On any change (Del button or typing some text) changes are applied to the right of selection.

Expected

On any change (Del button or typing some text) the selected block is deleted and then the changes are applied.

Question

How?

Upvotes: 0

Views: 1418

Answers (2)

Lucas Martendal
Lucas Martendal

Reputation: 1

To resolve this, use Ctrl + R.

Upvotes: -1

David Heffernan
David Heffernan

Reputation: 612934

The behaviour that you describe is simply how the IDE's search functionality is intended to work. You are expecting that when you search for text, the IDE will select occurrences of that text. However, it instead highlights occurrences.

There is no way (to the best of my knowledge) to alter this behaviour, short of writing an IDE plugin to implement your own search functionality.

Upvotes: 3

Related Questions