Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Resetting the search options on new search ?

    General Discussion
    search settings options
    2
    3
    66
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Martin Jost
      Martin Jost last edited by

      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 ?
      Thanks

      Martin

      P.S.: I’ll check the bug tracker and add a answer if I should find something there.

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Martin Jost
        Martin Jost last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • Alan Kilborn
          Alan Kilborn @Martin Jost last edited by

          @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.

          1 Reply Last reply Reply Quote 3
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors