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.
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]
Thats properties module issue. properties-text is mapped on something strange - like whitespace?!?
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. Note: 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 "Bundle.properties".
Fixed in the trunk. I made the changes described above. Modified files: properties/syntax/src/org/netbeans/modules/properties/syntax/: PropertiesExample (1.2) Bundle.properties (1.3) Diffs: http://properties.netbeans.org/source/browse/properties/syntax/src/org/netbeans/modules/properties/syntax/PropertiesExample?r1=1.1&r2=1.2&diff_format=u http://properties.netbeans.org/source/browse/properties/syntax/src/org/netbeans/modules/properties/syntax/Bundle.properties?r1=1.2&r2=1.3&diff_format=u
Verified in 200512111900.