Resetting the search options on new search ?
-
Hello,
is there an option to tell NP++ to reset the search options, when entering the search dialog ?
(Or even better set them to a personal default; or at least make it reset on exiting the NP++)
I’ve searched for that in the settings (Preferences/Searching) and here in the forum, but couldn’t find it.Background: I just got fooled by NP++ (ok, you can say I fooled myself) because I had “Match whole word only” on and didn’t realize, that this is the reason I missed a string I searched.
The way it currently is, I need to remember what I set, or I need to scan it each time.
My preferred solution would be a user settable default set, (Maybe besides an option to get the current behaviour)Is there something like that ?
Are there opinions on that ?
ThanksMartin
P.S.: I’ll check the bug tracker and add a answer if I should find something there.
-
So I only found
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9894
asking for “Find in search results” using the same options, as the original search. -
@Martin-Jost said in Resetting the search options on new search ?:
is there an option to tell NP++ to reset the search options, when entering the search dialog ?
No, there is not.
The way it currently is, I need to remember what I set, or I need to scan it each time.
Is it that hard to “scan it each time”?
If you had an option like you suggest, you’d set it with Match whole word only off. Then, you’d find an editing scenario where you have to do a series of a lot of searches with that setting on and you’d get annoyed that you have to keep turning it on or change your preference setting.
But, if you are really interested in this, you could make a FEATURE REQUEST for it. That takes time and it may never happen, in truth.
Finally, I do have a way to do exactly what you seek.
It would require a willingness on your part to use the PythonScript plugin and go through the “hassle” of setting a few things up.
If you’d like I could throw together a demo script and post it here.
But I won’t bother to do that unless you confirm your interest in that.