Improvement for Replace dialog
-
Ctrl-H brings up the Replace dialog. In it there is a checkbox “In selection”. You need to check/uncheck this box according to your wishes.
I think it could be improved if the initial value would be “set” when a selection larger than 0 exists in the document, and “unset” otherwise.
Currently, I select a bunch of lines, type Ctrl-H, and I STILL have to check the “in selection” box.
Changing that would make the Replace process smoother, I believe.
-
I understand what you mean, but I think a non-zero length selection is used by the logic that inserts selected text in the Find-what box.
As an example, if you have the following text (note the spaces between each letter/token):
a b c d e f a b c d e f a b c d e fAnd you want to replace
a b cwithA B C, you might highlight (select) in your editor tab the firsta b coccurrence, then invoke the Replace dialog (with Ctrl+h). At this point Notepad++ putsa b cin the Find-what box. If it also ticked the “In Selection” box, that would probably be deemed wrong behavior. Of coursea(space)b(space)cis a pretty simple example, and could easily be typed, but if it were more complicated…Po-tay-to, Po-tah-to, :-D
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login