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 70254

Summary: Code folds expanded when scrolling caret over it
Product: editor Reporter: Milan Kubec <mkubec>
Component: Code foldingAssignee: issues@editor <issues>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Milan Kubec 2005-12-12 11:06:18 UTC
[release50-200512111900, JDK 1.5.0_06]

Steps to reproduce:
1) Have java class with collapsed source folds
2) Move caret one line above the line with fold, to the middle of the fold
marker rectangle with {...} inside it
3) Press arrow down
Fold is expanded.
Comment 1 Milan Kubec 2005-12-13 08:51:32 UTC
It's regression against Beta2.
Comment 2 Martin Roskanin 2005-12-15 09:01:04 UTC
fixed in [maintrunk]

DIFF:
http://editor.netbeans.org/source/browse/editor/libsrc/org/netbeans/editor/Utilities.java?r1=1.77&r2=1.78

Mila, Roman, could you please review/test the fix? Thanks
Comment 3 Miloslav Metelka 2005-12-15 12:22:07 UTC
I approve the fix.
Comment 4 Milan Kubec 2005-12-16 09:20:05 UTC
Fix verified in trunk build 200512151900.
Comment 5 Martin Roskanin 2005-12-16 09:47:34 UTC
integrated into [release50]
Comment 6 Martin Roskanin 2005-12-16 09:47:48 UTC
/cvs/editor/libsrc/org/netbeans/editor/Utilities.java,v  <--  Utilities.java
new revision: 1.77.2.1; previous revision: 1.77
Comment 7 Milan Kubec 2005-12-20 12:39:58 UTC
Verified in release50-200512192030.