Code folding and find/replace

PeterW

Member³
Something is seriously going wrong when you try to find/replace (CTRL-F) something in folded code!

The found text in the folded code is not replaced, but the first line under the folded code is screwed up.

You can reproduce this by typing an if-statement, fold this, and try to replace some text that is inside the if-statement.
 
It happens to me too.

-DECLARE
BEGIN
+IF this
END;

the IF looks like this

IF this
THEN
that;
ELSE
NOTHING AT ALL;
END IF;

tried to change 'then' to 'thensomething' while the IF was folded and got

-declare
begin
+if this
thensomething
 
Back
Top