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 80332 - Changing colors doesn't update CND
Summary: Changing colors doesn't update CND
Status: RESOLVED DUPLICATE of bug 84343
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-14 19:02 UTC by waffletchnlgy
Modified: 2006-09-07 17:31 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 waffletchnlgy 2006-07-14 19:02:31 UTC
I've changed the 'comments' color and expected the open files to update
automatically. Unfortunately, no change.
Comment 1 Vladimir Voskresensky 2006-07-16 18:20:36 UTC
Could you describe it more detailed?
Do you use Tools->Options->Fonts&Colors->C/C++ Editor?
What is the version of used cnd?
Comment 2 waffletchnlgy 2006-07-17 17:29:35 UTC
Env: 
  * Netbeans 5.5 Beta
  * CND: Tools -> Module Manager tells me that C/C++ Class View, Make Projects
and     Native  Development are all Version 1.0. 

Steps: 
In Tools -> Options -> Fonts & Color -> Syntax Tab
   Language: All Languages
   Category: Comment
           Font: Inherited
           Foreground: [255,102,0] (Orange color)
           Background: Inherited
           Effect: None
(Foreground was the only one that I changed. And in the Preview, it shows the
color of the comment has changed.)

In my C/C++ code (open files, or files opened after the change), the comments
remain a gray color. 

You mention "Tools->Options->Fonts&Colors->C/C++ Editor". I do not see C/C++
Editor. Is this a tab which supposed to be there? 

(Side note: I also tried, instead of changing a particular field, to change
between Profile 'Netbeans' and 'CityLights'. That didn't change either, which
made me conclude something bigger is wrong.)
Comment 3 Vladimir Voskresensky 2006-07-17 21:17:15 UTC
I meant
In Tools -> Options -> Fonts & Color -> Syntax Tab
   Language: C and C++

Before it was:
Tools->Options->Advanced Options->Editor Settings->C and C++ Editor
  then on right side: Fonts & Colors.

New Options works in trunk for C++, but problems for C files.
In old builds settings worked only after restarting IDE :-(.
Thanks for info!
Comment 4 waffletchnlgy 2006-07-17 21:21:05 UTC
Hi! Actually, on the language pull down menu (Syntax tab) I have no C nor C++
option.
Comment 5 alexandrov 2006-08-08 17:08:30 UTC
Reminder. For c files problem is still actual...
Changing color model for c files takes effect only after restart netbeans.
Comment 6 waffletchnlgy 2006-08-18 19:34:00 UTC
This bug seems to be fixed in NB 5.5 Beta 2. Both c++ and c files show the
correct colour for comments now. And no restart is required. 
Comment 7 Andrew Krasny 2006-09-07 17:31:05 UTC

*** This issue has been marked as a duplicate of 84343 ***