News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

AStyle "don't break one line blocks"

Started by royalbox, February 17, 2006, 04:02:41 PM

Previous topic - Next topic

royalbox

"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.

royalbox

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:

int Thing() const {return m_thing;}

Is this not what one of these options should do?

thomas

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 :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

royalbox

Ok thanks, it must be a bug then. Any chance of it being fixed?