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
 Wrong coloration for member variables
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tony.riviere
Ketchup Master

France
57 Posts

Posted - Jul 11 2016 :  06:10:05 AM  Show Profile  Reply with Quote
Hello,

In some cases, the coloration of member variables are not correct, especially when an enum value or a class or a function have the same name.

enum EPropertyType
{ Default };

class Range
{};

void Label() {}

class Property
{
  Range Range;
  int Default;
  string Label;
}

void Test()
{
  Property p;
  p.Range; // "Range" has the color the type Range
  p.Default; // "Default" has the color of the enum value EPropertyType::Default
  p.Label; // "Label" has the color of the function Label()
  // All should have the color of member variables
}

My system info:
VA_X.dll file version 10.9.2102.0 built 2016.06.02
DevEnv.exe version 14.0.25420.1 Professional English
msenv.dll version 14.0.25420.1
Comctl32.dll version 6.10.10586.0
Windows 10 10.0 Build 10586
8 processors (x86-64, WOW64)
Language info: 1252, 0x40c



Regards,

Tony

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Jul 11 2016 :  09:36:02 AM  Show Profile  Reply with Quote
Thank you very much for the clear report, Tony.

I was able to reproduce the issue, and have entered a bug report.

case=98601

Edited by - accord on Jul 16 2016 3:35:32 PM
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