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 64824 - 'None" instead of 'Inherited' in Higlighting, Annotations FG & BG combos
Summary: 'None" instead of 'Inherited' in Higlighting, Annotations FG & BG combos
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: REGRESSION
: 56915 67419 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-21 12:26 UTC by Max Sauer
Modified: 2007-11-05 13:40 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 Max Sauer 2005-09-21 12:26:03 UTC
Compared to Fonts&Colors Syntax tab, the Highlighting's Foreground and
Background comboboxes does not contain 'Default' items, which are very usefull.
Instead of that, there is a 'None' item, which means for some items white (ie.
highlight carret row) and for some items black (ie. code folding).

Steps to reproduce:
--------------------
1) Open Tools|Options|Fonts&Colors|Highlighting
2) Pull down FG or BG combobox

[200509201800, JDK 1.5.0_05, solaris 10/sparc]
Comment 1 Jan Jancura 2005-10-07 11:03:57 UTC
fixed in main trunk:



IDE:-------------------------------------------------
IDE: [7.10.05 12:03] Committing ColorComboBox.java started
Checking in ColorComboBox.java;
/cvs/editor/options/src/org/netbeans/modules/options/colors/ColorComboBox.java,v
 <--  ColorComboBox.java
new revision: 1.6; previous revision: 1.5
done
IDE: [7.10.05 12:03] Committing ColorComboBox.java finished
Comment 2 Max Sauer 2005-10-17 09:37:45 UTC
Verified in 200510161800.
Comment 3 Max Sauer 2005-11-16 10:09:23 UTC
The fix must have been somehow reverted. Currenly, the 'None' reappeared in all
color defining combos inside both Highlighting and Annotations tabs.

[200511151900]
Comment 4 Jan Jancura 2006-01-03 09:02:12 UTC
Too late to fix in nb5.0.
Comment 5 Vitezslav Stejskal 2006-12-04 04:07:10 UTC
Still in the dev version. The combobox implementation is ok, but the Highlightig
and Annotations panels don't look up the default coloring at all and therefore
don't set the default color for their comboboxes.
Comment 6 Vitezslav Stejskal 2006-12-04 10:00:17 UTC
/cvs/editor/options/src/org/netbeans/modules/options/colors/HighlightingPanel.java,v
 <--  HighlightingPanel.java
new revision: 1.14; previous revision: 1.13
done
Checking in AnnotationsPanel.java;
/cvs/editor/options/src/org/netbeans/modules/options/colors/AnnotationsPanel.java,v
 <--  AnnotationsPanel.java
new revision: 1.20; previous revision: 1.19
done
Comment 7 Vitezslav Stejskal 2006-12-05 03:09:14 UTC
*** Issue 67419 has been marked as a duplicate of this issue. ***
Comment 8 Vitezslav Stejskal 2006-12-05 10:20:36 UTC
*** Issue 56915 has been marked as a duplicate of this issue. ***
Comment 9 Max Sauer 2006-12-06 09:54:04 UTC
Verified.
---
NetBeans IDE Dev (Build 200612051900)
1.6.0-rc; Java HotSpot(TM) 64-Bit Server VM 1.6.0-rc-b104
SunOS version 5.10 running on sparcv9
en (nb); ISO646-US