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 183303 - [69cat] Code folding now expands when the caret hits it
Summary: [69cat] Code folding now expands when the caret hits it
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jan Jancura
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2010-03-31 17:13 UTC by Michel Graciano
Modified: 2010-04-14 13:10 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 Michel Graciano 2010-03-31 17:13:28 UTC
[ BUILD # : eb8d22d7ddd4 ]
[ JDK VERSION : 1.6.* ]

When I move the caret through the folded code it is automatically unfolded. It
is not an desired and expected behaviour.
Comment 1 Jan Jancura 2010-04-06 14:04:02 UTC
Can not reproduce. Can you attach some example file, specify language, conditions etc.?
Comment 2 Jan Jancura 2010-04-06 14:04:48 UTC
Can not reproduce. Can you attach some example file, specify language, conditions etc.?
Build 100406, Java test file.
Comment 3 Michel Graciano 2010-04-06 14:20:28 UTC
Just create a new Main Class, and configure your IDE to fold initial javadoc. So, you can see the initial javadoc folded when you open this class.
1. Put the caret at line and column 1;
2. Move the caret to column 2 at the same line and you will see that the javadoc will be unfolded.
The desired behaviour is that cursor should go to the end of folded code without unfold anything as before editor changes.
Comment 4 Jan Jancura 2010-04-06 15:05:34 UTC
Sorry, I had broken settings.
Reproducible.
Comment 5 Jan Jancura 2010-04-13 15:03:41 UTC
fixed in jet-main: http://hg.netbeans.org/jet-main/rev/ccc0036d719c
Comment 6 Quality Engineering 2010-04-14 04:42:27 UTC
Integrated into 'main-golden', will be available in build *201004140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ccc0036d719c
User: Jan Jancura<jjancura@netbeans.org>
Log: #183303: [69cat] Code folding now expands when the caret hits it
Comment 7 Michel Graciano 2010-04-14 13:10:37 UTC
v. 100414-b2c5b451d302