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.
Steps to reproduce: - create any sample project (e.g. Quote) - open any sourse file in the editor (e.g. cpu.cc) - right-click on the editor and call "Code Folds->Collapse All" - move the cursor to the end of file and press enter to add a new line (or type any character) Result: All the code folds in the file get expanded. Includes and comments above the first code block stay collapsed. Comments below code block also expands. This behavior is inconvenient and inconsistent with Netbeans.
Current behaviour make code folding unusable. Product Version: NetBeans IDE 6.0 (Build 200711261600) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.21-1.3194.fc7 running on i386; UTF-8; en_US (nb) ( dunno why it says i386 on the last line, uname -srmpi gives : Linux 2.6.21-1.3194.fc7 x86_64 x86_64 x86_64 )
It's a critical usability issue.
fixed by commit: Checking in core/src/org/netbeans/modules/cnd/editor/CppFoldManager.java; /shared/data/ccvs/repository/cnd/core/src/org/netbeans/modules/cnd/editor/CppFoldManager.java,v <-- CppFoldManager.java new revision: 1.11; previous revision: 1.10 done Checking in core/src/org/netbeans/modules/cnd/editor/parser/CppFile.java; /shared/data/ccvs/repository/cnd/core/src/org/netbeans/modules/cnd/editor/parser/CppFile.java,v <-- CppFile.java new revision: 1.7; previous revision: 1.6 done Checking in folding/src/org/netbeans/modules/cnd/folding/APTFoldingParser.java; /shared/data/ccvs/repository/cnd/folding/src/org/netbeans/modules/cnd/folding/APTFoldingParser.java,v <-- APTFoldingParser.java new revision: 1.8; previous revision: 1.7 done
verified in 200802120006 build
*** Issue 129267 has been marked as a duplicate of this issue. ***