Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Color confusion: .NET enums & events
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Nels_P_Olsen
Senior Member

USA
47 Posts

Posted - Jan 29 2004 :  12:40:58 PM  Show Profile
Suggested logic to deal with the miscoloring of variables (events, properties, etc) as "constants" (enumerated values) in C# or VB.NET:

if identifier is known both as "constant" and "variable" then
if not qualified or qualified with enum then color as "constant"
else if followed by open paren then color as "method"
else color as "variable"

- Nels
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000