Menu

BUG in 4.2?: Using Replace All in selection

2007-08-13
2012-11-13
  • Nobody/Anonymous

    When I'm using the replace function to replace all occurrences in a selection notepad++ replaces every ouccurrence in the whole file.
    I used this fuctionallity often and it worked in 4.1.2

    Any Ideas?

     
    • Nobody/Anonymous

      The text selecton won't be shown anymore, that's true and I consider this a bug. But you can safely press Replace Rest then. I tried it. Next to that, you can always undo you actions.

       
    • Nobody/Anonymous

      Use CTRL+R instead of CTRL+H.

       
    • Nobody/Anonymous

      CTRL+R doesn't work. When I mark a few lines of code and want to replace text1 by text2 the "Replace Rest" Button is grayed out.

      Everything worked fine in v4.1.2 with CTRL+H.

       
    • Nobody/Anonymous

      You first have to press the Find button when using CTRL+R.

       
    • Nobody/Anonymous

      Yes and that's the problem. The original selection goes lost when I press the find button. But I only want to replace the text in the selected text and not in the whole document.

       
    • Nobody/Anonymous

      Replace All with In Selection checked is failing in 4.2

      To reproduce:
      - Select several lines of text in the file
      - Press CTRL-H
      - enter find / replace text
      - Check In Selection
      - Click Replace All

      Notice all the text matches are replaced.

       
    • Don HO

      Don HO - 2007-08-13

      It's a regression.
      This bug is fixed in v4.2.1, which will come out in a couple hours.

      Don

       
    • Nobody/Anonymous

      Thanks very much.
      Aprecciate your fast response.