Option "In selection" not available to replace a text block
-
Hello eveybody
I want to change text in a marked text block
for this I mark the text block using the keys [Alt]+[UpperCase] and the mouse
then I open the dialog box “Replace” using [Strg]+[H] and enter the text to be changed in the find field and the new text in the replace field
I find the option “In selection” but this option is not selectable
what have I to do in order to succeed? -
In selection checkbox is not available when you have a column-block selection active, which I think is the situation you’ve described. It’s a by-design behavior. In other words, you can’t do it.
-
@Michael-König said in Option "In selection" not available to replace a text block:
for this I mark the text block using the keys [Alt]+[UpperCase] and the mouse
then I open the dialog box “Replace” using [Strg]+[H] and enter the text to be changed in the find field and the new text in the replace field
I find the option “In selection” but this option is not selectable
what have I to do in order to succeed?The find and replace functions built in to Notepad++ do not work with rectangular (column) selections or multiple selections.
The Columns++ plugin (which I wrote) can do that.
Take a look at the help for the search function and see if you think it would work for you. You can install the current version of Columns++ from Plugins | Plugins Admin… by checking the box beside Columns++ and clicking the Install button at the top right. Be sure to save your work first since Notepad++ closes and restarts to install plugins.