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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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.
Use CTRL+R instead of CTRL+H.
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.
You first have to press the Find button when using CTRL+R.
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.
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.
It's a regression.
This bug is fixed in v4.2.1, which will come out in a couple hours.
Don
Thanks very much.
Aprecciate your fast response.