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.
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.) http://hg.netbeans.org/main-silver?cmd=changeset;node=58e3365f8031
Integrated into 'main-golden', will be available in build *201105021133* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/58e3365f8031 User: Jan Lahoda <jlahoda@netbeans.org> Log: #197654: when code folding is enabled, re-plan the code folding parser task so that the folds are computed and shown again.
verified Product Version: NetBeans IDE Dev (Build 201105030000)