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 80085 - Line number font in the diff tabs not using default
Summary: Line number font in the diff tabs not using default
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: diff-issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-12 16:19 UTC by mclaassen
Modified: 2007-03-27 13:12 UTC (History)
0 users

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 mclaassen 2006-07-12 16:19:24 UTC
I changed my default font to be Courier New 11.  All the other font declarations
were left unchanged.  This works great in the editor, the fonts are all smaller
along with the font for the line numbers.

However, while the font used for the files in the diff tabs is correct, the line
number font on these tabs isnot.  This causes the line numbers not to line up
with the text.
Comment 1 mclaassen 2006-10-18 16:04:50 UTC
I should have check into this earlies before the 5.5 went to RC.  This seems
like as easy thing to fix.  Has it been addressed?
Comment 2 Maros Sandor 2006-10-18 16:12:44 UTC
Can you reproduce it in 5.5RC? What OS/JDK do you use?
Comment 3 mclaassen 2006-10-18 16:20:43 UTC
I have not tried 5.5 yet for fear of harming my production environment. 
However, maybe it is time to find another machine here and give 5.5 a test run.
Comment 4 Maros Sandor 2006-10-18 16:26:05 UTC
5.5 is not far from release, try RC2.
Comment 5 mclaassen 2006-10-30 01:55:10 UTC
I didn't get a chance to try this with RC2.  Now with the FCS, I see there is no
change in the font problem for diff windows.  Also, XML files seem to get none
of the font settings at all.
Comment 6 Maros Sandor 2007-01-04 13:35:13 UTC
What OS/JDK/Windowing system do you use? Can you reproduce it with 5.5?
Comment 7 mclaassen 2007-01-04 14:08:29 UTC
The comments added on October 30 were from tests in NB 5.5
Comment 8 mclaassen 2007-01-04 14:26:34 UTC
5.5, I see that the issue is a bit more complicated.
Here are some symptoms:

- XML (non-ANT) files seem to show correctly, and change when the font settings
change
- Once the first ANT file is opened, the settings are fixed at those values and
 changes to the font settings are not applied
- It seems the font in the diff tabs does change, but the line spacing is off so
the lines do not match up with the line numbers
Comment 9 mclaassen 2007-01-04 14:28:33 UTC
Oh, I forgot.  I am using Windows XP SP2 and JDK 1.6.0
Comment 10 mclaassen 2007-01-04 14:29:02 UTC
Oh, I forgot.  I am using Windows XP SP2 and JDK 1.6.0
Comment 11 mclaassen 2007-01-12 14:04:26 UTC
Were my comments clear enough?  Were you (the netbeans team) able to reproduce
this issue?
Comment 12 Maros Sandor 2007-01-12 14:06:44 UTC
Your comments are clear. I was not yet able to reproduce it.
Comment 13 Maros Sandor 2007-03-27 13:12:24 UTC
Diff was partially rewritten and this should work for you now, please verify in
latest builds.