Navigation

    Community

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

    Bug in the find and replace in the selection

    General Discussion
    3
    6
    157
    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.
    • pascal scalpa
      pascal scalpa last edited by

      Hello all!
      Did you noticed this bug in notepad 7.8.7?
      If you try to find and replace a word in a selection of few lines, the selection is “deselected” and notepad is trying to find the word somewhere else…

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • rinku singh
        rinku singh last edited by

        yes you can try NppToolBucket plugin for multi line find and replace

        Alan Kilborn 1 Reply Last reply Reply Quote 0
        • Alan Kilborn
          Alan Kilborn @pascal scalpa last edited by Alan Kilborn

          @pascal-scalpa said in Bug in the find and replace in the selection:

          If you try to find and replace a word in a selection of few lines, the selection is “deselected” and …

          It isn’t a bug.

          When you are using the “interactive” search (Find Next button) or search+replace (Replace button) features of Notepad++, it automatically selects text after your action to show you where your next match is (thus “deselecting” a selection you had).

          So…you can’t expect a selection you’ve made to remain active while you are doing this type of search/replace.

          If you are interested in finding or replacing only in a selection you’ve made, your options are to tick the In selection checkbox after you’ve made your selection, and then pressing either of these buttons:

          • Replace All (on the Replace tab)
          • Find All in Current Document (on the Find tab)
          pascal scalpa 1 Reply Last reply Reply Quote 1
          • Alan Kilborn
            Alan Kilborn @rinku singh last edited by

            @rinku-singh said in Bug in the find and replace in the selection:

            yes you can try NppToolBucket plugin for multi line find and replace

            For any future readers of this thread, @rinku-singh 's answer has absolutely nothing to do with what @pascal-scalpa wrote about.

            1 Reply Last reply Reply Quote 0
            • pascal scalpa
              pascal scalpa @Alan Kilborn last edited by

              @Alan-Kilborn
              Thanks for reply.
              I do it the way you said.
              I know well this functionnality i used it often before.
              The bug is always here !

              Alan Kilborn 1 Reply Last reply Reply Quote 0
              • Alan Kilborn
                Alan Kilborn @pascal scalpa last edited by

                @pascal-scalpa

                The bug is always here !

                There is no bug.

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