Code folding is still buggy in several instances.

This particular problem seems to be easily reproducible.

Declare two classes in a file with some carriage returns between them.

Fold the two classes.

Move the cursor to the line below the first folded class definition.

Enter several carriage returns and/or backspaces quickly.

Folding plus signs are now buggered (see attached screenshot) and code below carriage returns has been unfolded.

AttachmentSize
deleteme.jpg10.38 KB

samandiriel says:

The backspacing isn't necessary - a couple of good rapid hits on the enter key will blow up the code folding in anything below the carriage returns.

samandiriel says:

It's a big one for me - code folding is important to the way I navigate and use files when coding.