Community
Participate
Working Groups
Build Identifier: 20090621-0832 When editing code with sections folded, transient syntax errors (e.g. because an declaration has been partially written but not completed) immediately above the folded area can cause the editor to behave in illogical ways, e.g. moving the code that is being actively edited inside a folded region. The editor should probably avoid changing the start and end locations of a folded region when there is a syntax error in the immediate vicinity. Moving code that the user is actively editing inside a folded region is *very* confusing. Reproducible: Always Steps to Reproduce: 1. Create a class and add a public method to it. 2. Fold the method 3. Place the cursor before the folded method and type "public", as if you were about to add a new public declaration. 4. Wait for about a second. 5. The new "public" keyword disappears; if you open the folded region you will see that it is now inside the region.
*** This bug has been marked as a duplicate of bug 104373 ***