It looks like CR93650 when fixed did exactly what I mentioned would be worse – it now EXPANDS all regions. In Toad 6.6 replace now expands all regions – whether you are replacing in a selection or the entire document.
I can understand expanding all regions if you were doing a search and replace WITHOUT a selection. But when you have a specific selection made I would expect ONLY THE SELECTION made to be expanded – not every region on the entire document which is what is happening.
Again, The real fix for this is to add code that makes note of which regions are expanded and collapsed, perform the search and replace, and then return the regions to their prior state!
In addition, the system should note which line number the cursor is currently on / or what selection is currently made, and should restore the cursor position and/or selection.
The other issue introduced is that Toad now appears to hang after performing the search and replace. I have a 219 line script and performing a search and replace on a 3 line selection in that larger script is taking minutes to perform instead of seconds. It eventually completes, after expanding all regions, but when set to only replace in selection should have taken a fraction of a second and not messed with the regions.