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

Summary: Code folding outline does not position correctly when using large font
Product: editor Reporter: markiewb
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: REOPENED ---    
Severity: normal CC: sdedic
Priority: P4    
Version: 7.3   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Attachments: Showing the error

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)