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 - Code folds expanded when scrolling caret over it
Summary: Code folds expanded when scrolling caret over it
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-12-12 11:06 UTC by Milan Kubec
Modified: 2007-11-05 13:39 UTC (History)
0 users

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 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.