While restarting NetBeans folds are reset to
There should be possibilities to remember this state.
This also happens when you close a file and reopen it, without
restarting Netbeans in between.
*** This bug has been marked as a duplicate of bug 188573 ***
*** Bug 226145 has been marked as a duplicate of this bug. ***