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
 syntax color is confused
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jayden_shui
New Member

6 Posts

Posted - Jan 29 2013 :  6:48:51 PM  Show Profile  Reply with Quote
In the following code, the syntax color seems wrong when enabled.

class Material;

class Background
{
pubic:
void material(Material* material) {m_material = material;}
// For the above code, the first "material" is a method, while
// the second one is a local variable. But the color shows they
// are of the same kind.

private:
Material* m_material;
};

[Moved to correct forum]

Edited by - support on Jan 30 2013 12:48:15 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 30 2013 :  5:57:24 PM  Show Profile  Reply with Quote
I am seeing the same effect here:

case=660

However, this is not an easy one. Visual Assist is designed to colorize the code immediately and in real-time, so we only do a limited context checking to be able to keep up with fast scrolling, etc.
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