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.
build 4.0 Beta 1, jdk1.5.0_b63 Steps to reproduce: - collapse any javadoc comment with caret inside - type e.g. ww (or more times any character) -> caret disappear - sometimes user can't expand the fold (1 possibility is delete the opening or clossing slash.
I will fix this.
Fixed in main trunk: Checking in fold/src/org/netbeans/modules/editor/fold/FoldHierarchyTransactionImpl.java; /cvs/editor/fold/src/org/netbeans/modules/editor/fold/FoldHierarchyTransactionImpl.java,v <-- FoldHierarchyTransactionImpl.java new revision: 1.3; previous revision: 1.2 done Processing log script arguments... More commits to come... Checking in libsrc/org/netbeans/editor/DrawEngineLineView.java; /cvs/editor/libsrc/org/netbeans/editor/DrawEngineLineView.java,v <-- DrawEngineLineView.java new revision: 1.11; previous revision: 1.10 done Processing log script arguments... More commits to come... Checking in test/unit/src/org/netbeans/editor/PlainDocumentCompatibilityRandomTest.java; /cvs/editor/test/unit/src/org/netbeans/editor/PlainDocumentCompatibilityRandomTest.java,v <-- PlainDocumentCompatibilityRandomTest.java new revision: 1.2; previous revision: 1.1 done Processing log script arguments... More commits to come... Checking in util/src/org/netbeans/modules/editor/util/element/GapBranchElement.java; /cvs/editor/util/src/org/netbeans/modules/editor/util/element/GapBranchElement.java,v <-- GapBranchElement.java new revision: 1.2; previous revision: 1.1
Honzo, should this fix be integrated into the beta branch as well?
Verified in dev build 200408171800. It is possible type text next the folded block and the fold is possible expand in all situations.
Fix required for NB 4.0 Beta 1. Please integrate asap. Thanks.
Integrated into QBE200408101800 branch (except the test update which is not necessary): Checking in fold/src/org/netbeans/modules/editor/fold/FoldHierarchyTransactionImpl.java; /cvs/editor/fold/src/org/netbeans/modules/editor/fold/FoldHierarchyTransactionImpl.java,v <-- FoldHierarchyTransactionImpl.java new revision: 1.2.6.1; previous revision: 1.2 done Processing log script arguments... More commits to come... Checking in libsrc/org/netbeans/editor/DrawEngineLineView.java; /cvs/editor/libsrc/org/netbeans/editor/DrawEngineLineView.java,v <-- DrawEngineLineView.java new revision: 1.10.12.1; previous revision: 1.10 done Processing log script arguments... More commits to come... Checking in util/src/org/netbeans/modules/editor/util/element/GapBranchElement.java; /cvs/editor/util/src/org/netbeans/modules/editor/util/element/GapBranchElement.java,v <-- GapBranchElement.java new revision: 1.1.2.1; previous revision: 1.1