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 f
And you want to replace
a b cwith
A B C, you might highlight (select) in your editor tab the first
a b coccurrence, then invoke the Replace dialog (with Ctrl+h). At this point Notepad++ puts
a b cin the Find-what box. If it also ticked the “In Selection” box, that would probably be deemed wrong behavior. Of course
a(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