You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
squidge
Posted - Feb 07 2010 : 10:28:20 AM class TFO_List { public: typedef enum {CopyAction, RenameAction, MoveAction} Action; };
class TFO_Status { public: enum {Search, Action} statusType; };
'Action' in the second enum is incorrectly colored. It is blue (the same as the 'Class', 'public' and 'enum' words) rather than the same color as the 'Search' word in the same enum.
VA seems to be treating the 'Action' typedef in the first class as global, rather than being local to that class.
The code compiles correctly without any errors or warnings.
VAX 1738.
1 L A T E S T R E P L I E S (Newest First)
accord
Posted - Feb 08 2010 : 12:47:08 AM I am seeing the same effect here. Thank you for the clear description:
case=660
Visual Assist uses a "lightweight" parser and coloring engine because it have to be fast to keep up with fast scrolling even when you are using larger editor window. It does not mean VA handles "Action" wrong at all, I mean other features should be work (like find references).