Hello,
The attached patch fixes broken indent after '?:'
Patches: #72
Krzysztof, do you have an example piece of code that exhibits the problem so I can verify the before-and-after of the patch before I accept it?
Thanks!
It's just the smart autoindent after '?:' like this:
before patch: p = q < 10 ? 20 : 15; <excessive autoindent="" here="">z = func(10);
after patch: p = q < 10 ? 20 : 15; z = func(10);
On Fri, Dec 12, 2014 at 7:18 PM, Darin tanktalus@users.sf.net wrote:
Krzysztof, do you have an example piece of code that exhibits the problem so I can verify the before-and-after of the patch before I accept it? Thanks! [patches:#72] http://sourceforge.net/p/fte/patches/72 C conditional operator indent fix* Status: open Group: Created: Fri Dec 12, 2014 07:29 AM UTC by Krzysztof Nikiel Last Updated: Fri Dec 12, 2014 07:29 AM UTC Owner: nobody Hello, The attached patch fixes broken indent after '?:' Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/fte/patches/72/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Status: open Group: Created: Fri Dec 12, 2014 07:29 AM UTC by Krzysztof Nikiel Last Updated: Fri Dec 12, 2014 07:29 AM UTC Owner: nobody
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/fte/patches/72/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Log in to post a comment.
Krzysztof, do you have an example piece of code that exhibits the problem so I can verify the before-and-after of the patch before I accept it?
Thanks!
It's just the smart autoindent after '?:' like this:
before patch:
p = q < 10 ? 20 : 15;
<excessive autoindent="" here="">z = func(10);
after patch:
p = q < 10 ? 20 : 15;
z = func(10);
On Fri, Dec 12, 2014 at 7:18 PM, Darin tanktalus@users.sf.net wrote:
Related
Patches:
#72