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 218810 - Code folding outline does not position correctly when using large font
Summary: Code folding outline does not position correctly when using large font
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.3
Hardware: PC Windows Vista
: P4 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-22 08:29 UTC by markiewb
Modified: 2016-07-10 18:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Showing the error (28.35 KB, image/png)
2012-09-22 08:29 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2012-09-22 08:29:29 UTC
[ BUILD # : 201209210001 ]
[ JDK VERSION : 1.6.35 ]

Open a java file. Use a large font or zoom in.

ACTUAL: The code folding outline on the left side of the editor does not 
position correctly.

See the screenshot
Comment 1 markiewb 2012-09-22 08:29:48 UTC
Created attachment 124741 [details]
Showing the error
Comment 2 Svata Dedic 2012-10-03 12:59:35 UTC
EditorUI.getLineHeight() still returns 17px even with an enlarged font. If the actual editor line height should be computed using some other data, please reassign back - thanks.

Not sure whether this is a P3 (rather P4), but if getLineHeight() should adjust its result according to zoom factor, it could impact other features in the UI, too.
Comment 3 Martin Balin 2016-07-07 07:27:57 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
Comment 4 markiewb 2016-07-10 18:18:36 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)