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.
I have changed the foreground and background color of comments in preferences and even when It shows the new color in the preview window, when I press ok in options, it does not change in editor. I'm programming with PHP plugin. Product Version = NetBeans IDE 6.9.1 (Build 201007282301) Operating System = Mac OS X version 10.6.6 running on x86_64 Java; VM; Vendor = 1.6.0_24 Runtime = Java HotSpot(TM) 64-Bit Server VM 19.1-b02-334
Created attachment 106880 [details] current color settings & current editor view
It works properly for me. Your preview shows settings for a "Language: All languages", so try to set it exactly for a "Language: PHP"...maybe it doesn't work for you, because in "Language: PHP" settings you don't have a "Inherited" value for a "Background" and "Foreground" property. Maybe you have there "hard setted" colors so they override your settings for "All languages". Please, tell us what happened if you tried my recommendations, thanks.
I fixed by editing the property file, I remember that even when in netbeans it shows certain color settings for comments, in the color property files in that theme, it has different color settings. I "fixed" this by changing the colors directly from the file and restarting netbeans. It was impossible to change it from netbeans. I'm currently using "all languages instead of PHP", maybe that was the problem. I dont know, since I change the file, everything start to work ok, now I can change colors directly from netbeans GUI. maybe I'm wrong, but I suspect something was working rare, but I still cant reproduce the original issue...:P (In reply to comment #2) > It works properly for me. Your preview shows settings for a "Language: All > languages", so try to set it exactly for a "Language: PHP"...maybe it doesn't > work for you, because in "Language: PHP" settings you don't have a "Inherited" > value for a "Background" and "Foreground" property. Maybe you have there "hard > setted" colors so they override your settings for "All languages". > > Please, tell us what happened if you tried my recommendations, thanks.
Ok, so I'll close it as "works for me", because I really can't reproduce it. But if you find the way how to reproduce it, don't hesitate to reopen it and describe that failing use case.