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
 coloration error
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

eco
Tomato Guru

102 Posts

Posted - Sep 14 2009 :  04:12:12 AM  Show Profile  Reply with Quote
when declaring a method that get a parameter with the same name that the method, there is a coloration error in the method name:

class myclass
{
void name( int name );
};

wait few seconds to see the problem.

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Sep 14 2009 :  10:06:29 AM  Show Profile  Reply with Quote
This is a known issue, and to a degree it is by design. From the "Coloring by Usage" section here:

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

quote:
Coloring is efficient, particularly during scrolling, but unusual sequences of symbols and characters, and commonly used symbol names of differing types, might cause a symbol to be drawn in the wrong color. For example, if MyVar is a method in one place and int in another, MyVar is colored like a method regardless of the instance to which it refers.

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