Community
Participate
Working Groups
When deleting multiple lines of text, subsequent folded regions might get expanded. E.g. public class Foo { static void m1() { // delete me // delete me // delete me // delete me // delete me // delete me } static void m2() { // fold me } static void m3() { // fold me } static void m4() { // fold me } } Fold methods m2-m4 and then delete the comments in m1. Methods m2-m4 get expanded. The culprit seems to be ProjectionViewer.handleVisibleDocumentChanged() where in case of a delete with multiple lines, the complete range of the (now deleted) text is expanded.
*** This bug has been marked as a duplicate of bug 178203 ***