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
 Fail to recognize struct members
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kennyl
Ketchup Master

50 Posts

Posted - Nov 12 2012 :  11:30:40 PM  Show Profile  Reply with Quote

struct OSPACELIMITS
{
	double from;
	double to;
};

struct OSpaceLimits : public OSPACELIMITS
{
};

void test()
{
	OSPACELIMITS limits1;
	limits1.from = 11;	// from is underlined
	limits1.to   = 22;;	// to is underlined

	OSpaceLimits limits2;
	limits2.from = 3.14;	// from is underlined
	limits2.to   = 1.23;	// to is underlined
}


Note:
1. The two struct use the same name, it's just that one is completely upper case, while the other use Hungarian notation.
2. If you comment out the second struct (OSpaceLimits), then there will be no underline for the member of limits1.

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 16 2012 :  10:10:41 AM  Show Profile  Reply with Quote
Strange. Thanks for the report. case=70618
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Dec 17 2012 :  11:50:01 PM  Show Profile  Reply with Quote
case=70618 is fixed in build 1925
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