Lolo: -------------------------------------------------------------------------------- Simply create this line: azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty azerty
Go to the begin of the line Try to replace azerty by 0123456789 azerty is replaced only 4 times 0123456789 0123456789 0123456789 0123456789 azerty azerty azerty azerty azerty azerty azerty I hope this bug will be fixed in the next build. -------------------------------------------------------------------------------- I have just verified this myself in this build (2250)english. Also, if I open the Find/Replace window again I see that _0123456789_ is now in the FIND field instead of _azerty_. And if I correct it by putting _azerty_ back into the FIND field, it will only work [color=#2255DD]_once_[/color]. It then reverts back to _0123456789_ in the FIND field again. [color=#2255DD]_What's up with that? _[/color] :-/ However, I can't think of anytime that I might need to replace the same word (or string) that's repeated over and over again right in a row like this! Upon further testing; I was able to test FIND/REPLACE for the same word (azerty) on multiple lines where the word I was replacing was in the line at least once, (sometimes more than once) and it worked just fine on every occurrence. I only tested this with nine (9) of the same word. (but that's more than 4!) Again I opened the FIND/REPLACE window after I had completed that test and found that the word "[color=#2255DD]_the_[/color]" was in the FIND field. The word "[color=#2255DD]_the_[/color]" was not anywhere near the last replaced word. *NOT before and NOT after!* I had the original test line towards the top of my test file while I tested this other paragraph. So when I finished this test, I moved my cursor to a blank line above the line with the string _azerty_ repeated as Lolo described. After changing the FIND field back to _azerty_. I ran the original test again, and it changed every occurrence correctly! :-P Again I opened the FIND/REPLACE window after I had completed that test and found that the string [color=#2255DD]_0123456789_[/color] was in the FIND field. In summary; FIND/REPLACE does work but there are problems with it. And I don't think I would use it without having it prompt me for every occurrence it finds just yet. I couldn't be sure it didn't stop working half way through, or that it might grab a different word and start replacing that one instead! (that could be scary!) :-O HTH! Tgus -- <http://forum.pspad.com/read.php?6,36829,36900> PSPad freeware editor http://www.pspad.com
