• Login
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.
  • S
    Samuel Same
    last edited by Jan 5, 2016, 1:29 PM

    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.

    C 1 Reply Last reply Jan 5, 2016, 7:52 PM Reply Quote 0
    • C
      Claudia Frank @Samuel Same
      last edited by Jan 5, 2016, 7:52 PM

      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
      • K
        Ken Williams
        last edited by Jan 7, 2016, 8:19 AM

        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
        • S
          Scott Sumner
          last edited by Jan 7, 2016, 11:26 AM

          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
          4 out of 4
          • First post
            4/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors