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.
Initial comment does not collapse on opening java file in editor even though set to do so by default by checking "initial comment" box (Tools -> Options -> Editor -> Folding -> All languages).
reproducible
Fixed in jet-main#b0e63e63eeae regression caused by fix of issue #237364 - opening a file navigate to the start of init comment (pos:0), which kept the comment expanded. Now only non-comment folds will stay expanded if caret location is at/right before the fold start.
Integrated into 'main-silver', will be available in build *201402040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b0e63e63eeae User: Svata Dedic <sdedic@netbeans.org> Log: #241269: special case for comments - only expand if caret is within