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.
This is a code folding issue with CND in 8.0.2: 1. Set all the code folding options (fold types) to true in Editor preferences 2. Hit "OK" 3. Open a C/C++ source file and notice that everything is collapsed by default as expected 4. Re-open preferences and hit OK (changing nothing) 5. Close and re-open the source file from step 3 6. Only the initial comment fold type is folded automatically. Everything else which was collapsed in step 3 stays expanded. The settings to fold automatically are getting cleared on "OK," even though you haven't changed anything. You can confirm visually that they are still set to true in the editor preferences panel.
Created attachment 153130 [details] cnd.editor patch I talked to VV about this one through email.
Ilia, could you review and integrate, please. Thanks!
Reviewed and integrated in: http://hg.netbeans.org/cnd-main/rev/017ad895f462
Integrated into 'main-silver', will be available in build *201504290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/017ad895f462 User: Ilia Gromov <ilia@netbeans.org> Log: Bug 251764 - CND automatic fold settings get lost on editor preferences "OK"