If I turn off code folding, then the place (column) with marks +/- correctly disappears and the code is shifted to the left. When I turn it on again, the text is shifted to right but there are no folding marks, keyboard shortcuts don't work. When I reopen the file again, all folding marks are there as they should be and everything is working.
Product Version: NetBeans IDE 7.0 (Build 201104080000)
Java: 1.6.0_25; Java HotSpot(TM) Client VM 20.0-b11
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Tested in html and java files...
100% reproducible ... BTW: it doesn't work in NB 6.9.1 either
I believe this does not work (for Java) since at least 6.0. Any way to force reparse is sufficient - typing in the editor, switching tabs, etc. Keeping in editor/codefolding only because this will require fixes both in Java and CSL.
(BTW, I tried C++ and it appears to be OK.)
Integrated into 'main-golden', will be available in build *201105021133* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jan Lahoda <firstname.lastname@example.org>
Log: #197654: when code folding is enabled, re-plan the code folding parser task so that the folds are computed and shown again.
Product Version: NetBeans IDE Dev (Build 201105030000)