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 219392 - Editor paints text too close to the glyph gutter; there use to be a 2px margin
Summary: Editor paints text too close to the glyph gutter; there use to be a 2px margin
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.2
Hardware: PC All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-02 15:26 UTC by emi
Modified: 2016-07-07 07:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The 6.5 compared to the 7.2 editor margin (9.45 KB, image/png)
2012-10-02 15:26 UTC, emi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emi 2012-10-02 15:26:34 UTC
Created attachment 125242 [details]
The 6.5 compared to the 7.2 editor margin

With the old (6.5) painting code, there was a small 2 pixel margin to the left of the editor. This separated the editor from the glyph gutter area nicely.

The new painting code leaves no margin whatsoever. So if all the other sidebars are disabled, the text is painted right next to the glyph gutter vertical line.

Depending on the font/letter, it almost makes the text seem cut-off by the glyph gutter line.

Any chance those two pixels make it back? I would patch this myself but I don't know the new view code that much.
Comment 1 Miloslav Metelka 2013-08-22 12:16:34 UTC
Ok, we should add the particular margin to the GlyphGutter's area.
Comment 2 Martin Balin 2016-07-07 07:29:56 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss