Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Wrong coloration for member variables

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
tony.riviere Posted - Jul 11 2016 : 06:10:05 AM
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
1   L A T E S T    R E P L I E S    (Newest First)
ChrisG Posted - Jul 11 2016 : 09:36:02 AM
Thank you very much for the clear report, Tony.

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

case=98601

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