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
Code formating for range-for
-
- CodeLite Curious
- Posts: 3
- Joined: Mon Oct 08, 2012 11:13 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
-
- CodeLite Enthusiast
- Posts: 34
- Joined: Fri Sep 14, 2012 1:01 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Code formating for range-for
That was fixed in rev. 5819.
My build of rev. 5904 for Windows is here:
https://dl.dropbox.com/u/58962113/Codelite/Codelite.7z
My build of rev. 5904 for Windows is here:
https://dl.dropbox.com/u/58962113/Codelite/Codelite.7z
-
- CodeLite Curious
- Posts: 3
- Joined: Mon Oct 08, 2012 11:13 am
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Code formating for range-for
Thanks for the hint!