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.

Bug 47279 - Caret disappear and sometimes is not possible to expand folded block
Summary: Caret disappear and sometimes is not possible to expand folded block
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-16 17:03 UTC by pfelenda
Modified: 2007-11-05 13:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pfelenda 2004-08-16 17:03:29 UTC
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.
Comment 1 Miloslav Metelka 2004-08-17 09:08:57 UTC
I will fix this.
Comment 2 Miloslav Metelka 2004-08-17 17:59:39 UTC
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
Comment 3 Miloslav Metelka 2004-08-17 18:00:59 UTC
Honzo, should this fix be integrated into the beta branch as well?
Comment 4 pfelenda 2004-08-18 09:49:48 UTC
Verified in dev build 200408171800. It is possible type text next the
folded block and the fold is possible expand in all situations.
Comment 5 Jan Chalupa 2004-08-18 10:06:43 UTC
Fix required for NB 4.0 Beta 1. Please integrate asap. Thanks.
Comment 6 Miloslav Metelka 2004-08-18 10:21:18 UTC
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