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 67420 - Fg color of 'Text' inside Fonts&Colors|Syntax - language Properties cannot be set
Summary: Fg color of 'Text' inside Fonts&Colors|Syntax - language Properties cannot be...
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
Depends on:
Reported: 2005-10-24 13:03 UTC by Max Sauer
Modified: 2005-12-12 10:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2005-10-24 13:03:10 UTC
Foreground color of element 'Text' cannot be set for 'Properties' language
inside Fonts&Colors Sytntax tab. However, it gets changed together with 'Key'
element when its color is changed.

Steps to reproduce:
1) Open a properties file with some properties inside
2) Invoke Tools|Options
3) Goto Fonts&Colors|Syntax
4) Choose 'Properties' as language
5) Try to change fg color of 'Text'
--> nothing happens
6) Change fg color of 'Key' element, ie. to red
--> Its color gets changed, however along with 'Text'

[200510231800, JDK 1.5.0_02, solaris 10 / x86]
Comment 1 Jan Jancura 2005-11-07 22:07:55 UTC
Thats properties module issue. properties-text is mapped on something strange -
like whitespace?!?
Comment 2 Marian Petras 2005-12-08 18:22:11 UTC
Changing of "Text" actually works. What is confusing is the name of the category
and the example file displayed in the options dialog.

This issue is compound of two problems:
1) The "Text" string in the example properties file actually represents a key -
it should be either renamed or eliminated.
2) The "Text" category in the options dialog actually represents whitespace
(before the first character of a key) so it needs to be renamed.

Both of the above changed must be made in module properties/syntax. To fix the
former issue, fix file "PropertiesExample". To fix the latter issue, modify file
Comment 3 Marian Petras 2005-12-09 16:14:50 UTC
Fixed in the trunk.

I made the changes described above.

Modified files:
                                                       PropertiesExample   (1.2)

Comment 4 Max Sauer 2005-12-12 10:25:47 UTC
Verified in 200512111900.