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
 Bad coloring enum::xxx and class::xxx
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rm822
New Member

5 Posts

Posted - Oct 12 2006 :  11:48:33 AM  Show Profile  Reply with Quote
//VA build 1535
struct Rule{
std::wstring name; //vs 2005 colored as enum, VC6 colored as local
};

enum ColumnType{
idx, //OK
name //vs 2005 colored as enum, VC6 colored as local
};

feline
Whole Tomato Software

United Kingdom
18950 Posts

Posted - Oct 12 2006 :  12:11:35 PM  Show Profile  Reply with Quote
unfortunately the colouring code has to run very quickly, to keep up with scrolling, and has limited information to work on, so it has to "guess" some of the time. this is explained in the "Coloring by Usage" section here:

http://www.wholetomato.com/products/features/color.asp

zen is the art of being at one with the two'ness
Go to Top of Page

rm822
New Member

5 Posts

Posted - Oct 13 2006 :  05:36:59 AM  Show Profile  Reply with Quote
Ok, but why the same code colored different in VC6 && VS2005
"guess" depend on IDE? :)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18950 Posts

Posted - Oct 13 2006 :  09:08:26 AM  Show Profile  Reply with Quote
I see different results to you. I suspect it is related to the other files in the current solution, plus anything in your stable include library directories.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000