Page 1 of 1

Code formating for range-for

Posted: Mon Oct 08, 2012 11:21 am
by AndiB
Hello, I was wondering what has to be done to allow for proper code formating for "range-for" loops of C++11. Whenever I auto-format my code to ANSI-style, in lines containing the range-for statement all spaces before the actual for-statement a deleted. Is there an easy rule to be added for these statements in order to ensure proper formatting?
By the way, I am using svn rev. 5772.

Thanks for any help.
AndiB

Re: Code formating for range-for

Posted: Mon Oct 08, 2012 4:51 pm
by NilC
That was fixed in rev. 5819.
My build of rev. 5904 for Windows is here:
https://dl.dropbox.com/u/58962113/Codelite/Codelite.7z

Re: Code formating for range-for

Posted: Tue Oct 09, 2012 11:49 am
by AndiB
Thanks for the hint!