marijnh/CodeMirror2 — pull request #635 by spastorelli (2012-07-12 00:55:32+00:00)
Title: Proposed change to address the issue reported in bug #531

Change the behaviour so that when a user start editing code that's
folded, the folded region expands and add unfolded marker when folded regions is expanded.

For line newFoldFunction method signature changes, I have added the markUnFoldedText optional arg at the end of the arg list for backward compatibility but not sure about it maybe it is better to keep markUnFoldedText and markFoldedText next to each other.