• Login
Community
  • Login

search functionality

Scheduled Pinned Locked Moved General Discussion
7 Posts 2 Posters 2.1k Views
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.
  • P
    patrickdrd
    last edited by Jun 6, 2018, 12:33 PM

    in ue, I used to do “select and find next” (43048 command in npp),
    but when I deselected the chosen word, the editor still remembered it and
    f3 was still working,

    in npp, the behavior is a bit different:
    I select a word, I press “f3” (assigned by me in “select and find next”),
    but, when I move from that word (maybe because I want to copy another word),
    the selected word is lost and the editor marks for searching the closer word,

    can this be altered somehow?

    maybe the functionality needs a change?

    S 1 Reply Last reply Jun 6, 2018, 1:28 PM Reply Quote 0
    • S
      Scott Sumner @patrickdrd
      last edited by Jun 6, 2018, 1:28 PM

      @patrickdrd

      If I understand this, then I think you just need to adjust your thinking to do a “Find Next” rather than a “Select and Find Next” in such situations? Yes it is a different keystroke, which may be a barrier initially…but I got used to it… Of course, I could be totally off base and am misunderstanding your posting…

      1 Reply Last reply Reply Quote 1
      • S
        Scott Sumner
        last edited by Jun 6, 2018, 1:49 PM

        Thinking about this has revived my memory about the “volatile” find next/prev commands – maybe not the best of names for this. Anyway, we have (only showing “next” but also equivalent functionality for “previous”):

        Find Next : repeat most-recent “remembered” find
        Select And Find Next : grab “word” at caret, search in current direction with it; remember it for when Find Next is used again
        Find (Volatile) Next : grab “word” at caret, search in current direction with it; but DON’T remember it

        I guess “volatile” here is like turning off the power right after the search is done–it’s gone from memory when that happens…

        Probably the biggest hurdle to efficient use of ALL of these is remembering the 6 distinct keycombinations!

        1 Reply Last reply Reply Quote 0
        • P
          patrickdrd
          last edited by patrickdrd Jun 6, 2018, 2:11 PM Jun 6, 2018, 2:11 PM

          I just run a search in .net, same functionality (as ue’s one) there too

          1 Reply Last reply Reply Quote 0
          • P
            patrickdrd
            last edited by Jun 6, 2018, 2:47 PM

            I’m saying it’s not convenient because I would want it to remember the word AND allow me to cut/copy/paste from a part of the document and then continue my search, this doesn’t seem possible with npp, at least I would have to re-initialize my search

            S 1 Reply Last reply Jun 6, 2018, 3:05 PM Reply Quote 0
            • S
              Scott Sumner @patrickdrd
              last edited by Jun 6, 2018, 3:05 PM

              @patrickdrd

              Here I’m attempting to show where I am doing a “Select and Find Next” on a word (“encouraging”), followed by several "Find Next"s, then ooohh(!), found what I want so I copy a full line and paste it 3 times at the bottom of the doc, then move back up and do some more "Find Next"s of the original “encouraging” word. So doesn’t this show that I copied from part of the doc and yet continued my original search?

              Imgur

              1 Reply Last reply Reply Quote 1
              • P
                patrickdrd
                last edited by Jun 7, 2018, 5:48 AM

                yes, but the problem is you can’t use the same shortcut/function I see,
                I mean you’ve got to start with “select and find next” and then “find next”,
                while I want to be able to press f3 each time (assign it to “select and find next” maybe),
                is this possible?

                1 Reply Last reply Reply Quote 0
                6 out of 7
                • First post
                  6/7
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors