Community
    • Login

    Bug in the find and replace in the selection

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 3 Posters 549 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.
    • pascal scalpaP
      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 KilbornA 1 Reply Last reply Reply Quote 0
      • rinku singhR
        rinku singh
        last edited by

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

        Alan KilbornA 1 Reply Last reply Reply Quote 0
        • Alan KilbornA
          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 scalpaP 1 Reply Last reply Reply Quote 1
          • Alan KilbornA
            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 scalpaP
              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 KilbornA 1 Reply Last reply Reply Quote 0
              • Alan KilbornA
                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
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors