Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 syntax color is confused

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
jayden_shui Posted - Jan 29 2013 : 6:48:51 PM
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]
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jan 30 2013 : 5:57:24 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000