Community
    • Login

    Problem: How to stop notepad++ changing the search string.

    Scheduled Pinned Locked Moved General Discussion
    changeproblemsubstitutionswitchsearch-string
    4 Posts 4 Posters 3.7k 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.
    • Samuel SameS
      Samuel Same
      last edited by

      When I am searching through text, repeatedly hitting the enter button, suddenly I notice that notepad++ has changed the search string on me, and now I am searching for something else. Then I have to backtrack to find at what point notepad++ switched it on me.
      I just want notepad to leave the search string alone.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Samuel Same
        last edited by

        Hello Samuel-Same,

        which version of npp you are using?
        On which operating system?
        Did you use normal search mode or extended or regular expressions?
        Can you reproduce it or does it happen randomly?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Ken WilliamsK
          Ken Williams
          last edited by

          Ya, I see the same problem. Extremely annoying. I search for “test”, make a code change, go back to the Find What box and “test” is not there now, its changed to whatever the cursor was over when opening the search/find box again. Couldn’t big a bigger pain. If I wanted something different in the Find What box I would put it there. DO NOT HELP ME.

          1 Reply Last reply Reply Quote 0
          • Scott SumnerS
            Scott Sumner
            last edited by

            When the find window is opened, the word under the cursor is grabbed and used by it. If you don’t want this, either put the caret in an are where there are no word characters touching it before calling up the find window, or use the “find next” or “find previous” shortcut keys (which will use the last search text).

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