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.
Summary: | Wrong font size shown for Default font in Tools>Options>Fonts&Colors | ||
---|---|---|---|
Product: | editor | Reporter: | err <err> |
Component: | Options | Assignee: | Milutin Kristofic <mkristofic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mmetelka |
Priority: | P3 | ||
Version: | 7.0.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 179047 |
Description
err
2011-08-03 18:01:32 UTC
We were examining the code in settings related to it yesterday and we will attempt to have just one source of the default coloring fallback (so we will attempt to eliminate the hardcoded defaults from SyntaxColoringPanel). Also the DEFAULT_COLORING should only be returned by FontColorSettings.getFontColors() and not by getTokenFontColors() (currently gFC() delegates retrieval of DEFAULT_COLORING to gTFC() which means that having a token or token category named "default" can lead to a strange behavior). We will fix that as well. (In reply to comment #1) > ... have just one source of the default coloring fallback ... > Also the DEFAULT_COLORING should only be returned by > FontColorSettings.getFontColors() and not by getTokenFontColors() ... Doing "the right thing"! (mentioning bug 200450 with some discussion about these topics) Here are changes mentioned by Mila: http://hg.netbeans.org/jet-main/rev/6b807db39c97 Here is fix for regression bug - default was in highlighting panel not syntax panel. Also the default font size is at least 13 in clean build. http://hg.netbeans.org/jet-main/rev/34c5dac5c3cd Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/34c5dac5c3cd User: Milutin Kristofic <mkristofic@netbeans.org> Log: Fixed regresion bug for #200650 . The default font size is at least 13 with clean build. Default in again in syntax panel in Font & Colors. |