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

cyril
Junior Member

19 Posts

Posted - Aug 06 2009 :  08:33:02 AM  Show Profile  Reply with Quote
Hi,
Here is a strange coloration error:

vs

As you can see, the foo() method does not have the right "method" coloration in the first screenshot, apparently due to the presence of an argument with the same identifier nearby...
Could something be done about that?
Thanks.
Cyril

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Aug 06 2009 :  3:48:29 PM  Show Profile  Reply with Quote
Currently this is a known problem, which is explained in the "Coloring by Usage" section here:

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

basically in order for our colouring code to run quickly enough it must be fairly "simple" and it can get confused by duplicates, as you are seeing here.

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

cyril
Junior Member

19 Posts

Posted - Aug 06 2009 :  3:52:26 PM  Show Profile  Reply with Quote
Thanks for your answer.
I apologize for not reading that page sooner!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Aug 06 2009 :  4:08:37 PM  Show Profile  Reply with Quote
It does look wrong in your code, and it is only easy to find the answer if you already know where to look for it

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