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
 Code Inspection formatting issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pwc
Tomato Guru

135 Posts

Posted - Mar 16 2017 :  5:54:19 PM  Show Profile  Reply with Quote
Hello,

The new Code Inspection feature is fantastic. Thanks very much for adding this.

Converting to range-based for loops inserts an extra level of indentation for the first line of the loop, for example:


std::vector<int> v = { 1,2,3,4,5 };
for (auto i = 0;i < v.size();++i)
{
	int val = v[i];
	std::cout << val;
}


becomes:


std::vector<int> v = { 1,2,3,4,5 };
for (int val : v)
{
		std::cout << val;
}


Note the extra level of indentation for the "std::cout << val;" line.

Thanks,
Paul


feline
Whole Tomato Software

United Kingdom
16086 Posts

Posted - Mar 17 2017 :  3:05:17 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=103137

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2698 Posts

Posted - Apr 26 2017 :  5:07:08 PM  Show Profile  Reply with Quote
case=103137 is fixed in build 2217.
Go to Top of Page

pwc
Tomato Guru

135 Posts

Posted - Apr 28 2017 :  12:49:25 PM  Show Profile  Reply with Quote
Thanks for the fix!

FYI, your website still shows 2212 as the latest here:

http://www.wholetomato.com/features/whats-new.asp
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16086 Posts

Posted - Apr 29 2017 :  11:06:06 AM  Show Profile  Reply with Quote
The whats new page has now been updated. Sometimes these things take a day or two, but the information is now there to review.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000