This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Folding is one of the base features of the editor. Should be based on Model.
Related to replacing Rhino, which was done a few years ago.