Code::Blocks Forums
User forums => Help => Topic started by: royalbox on February 17, 2006, 04:02:41 pm
Title:
AStyle "don't break one line blocks"
Post by:
royalbox
on
February 17, 2006, 04:02:41 pm
"Don't break one-line blocks" and "Don't break complex statements and multiple statements residing on a single line"
Can anyone post an example of what these options do? They either don't work or I've misunderstood what they are for.
Many thanks.
Title:
Re: AStyle "don't break one line blocks"
Post by:
royalbox
on
February 21, 2006, 11:11:24 pm
So, no one knows what this does. That's surprising.
What I want to do is keep simple inline class methods on one line without aStyle breaking it up like this:
Code
int Thing() const {return m_thing;}
Is this not what one of these options should do?
Title:
Re: AStyle "don't break one line blocks"
Post by:
thomas
on
February 21, 2006, 11:48:17 pm
I guess that's what the first option does... but I don't know, I only ever used that plugin right as it comes out of the box :)
Title:
Re: AStyle "don't break one line blocks"
Post by:
royalbox
on
February 24, 2006, 12:31:07 pm
Ok thanks, it must be a bug then. Any chance of it being fixed?