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 183589 - [69cat] Code folding should be like 6.8 style
Summary: [69cat] Code folding should be like 6.8 style
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 16:15 UTC by Michel Graciano
Modified: 2010-10-13 17:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample image (2.70 KB, image/png)
2010-04-06 16:15 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2010-04-06 16:15:01 UTC
[ BUILD # : 9ebad556ff8f ]
[ JDK VERSION : 1.6.* ]

The new code fold style is worse than 6.8 style, it is now smaller as you can
see at attached image. I think add an whitespace before and after should make
it better.
Comment 1 Michel Graciano 2010-04-06 16:15:39 UTC
Created attachment 96792 [details]
Sample image
Comment 2 Vitezslav Stejskal 2010-04-07 11:40:41 UTC
I think the screenshots are the other way around. The folded code is rendered in a smaller box in 6.9. I think this can be easily fixed.
Comment 3 Miloslav Metelka 2010-06-17 13:46:27 UTC
I've inspected the original CollapsedView and there was an extra 2 * MARGIN_WIDTH=4 adding extra 8 pixels to the text's width so I've made it the similar (one pixel less which seems a bit better).

http://hg.netbeans.org/jet-main/rev/0a2f54728bd1
Comment 4 Quality Engineering 2010-06-18 03:20:25 UTC
Integrated into 'main-golden', will be available in build *201006180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0a2f54728bd1
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #183589 - Code folding should be like 6.8 style - added extra margin.