Product Version = NetBeans IDE 7.2 Beta (Build 201205031832)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_03
Runtime = Java HotSpot(TM) Client VM 22.1-b02
While editing file.h and going to header.h, all code within the header class are greyed. Comments outside of the class specification appear normal. Editing another header file, header2.h, during the same session does not change the code contained in the class.
/* coments */
# define HEADER_H
The comments appear normal, all code and comments from the #define to the end of the file are grayed.
In file.h, references to header.h are flagged as "unable to resolve identifier" errors.
I have a similar issue in Final - NetBeans IDE 7.3.
Everything between #ifndef and #endif is greyed out. Closing NetBeans does not resolve the issue. The only way I'm able to fix it is removing all the #include statements throughout the program. It's happened 3 times today, and it's getting frustrating, since I have to do that with 9 files. Code works fine, with no errors, but it's harder to develop code. Never had this issue before today (I've been using NetBeans heavily for the past 9 months).
I can not reproduce the problem in 8.0.2 candidate. Could you try it, please?