Author Topic: AStyle "don't break one line blocks"  (Read 3693 times)

royalbox

  • Guest
AStyle "don't break one line blocks"
« 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.

royalbox

  • Guest
Re: AStyle "don't break one line blocks"
« Reply #1 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?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: AStyle "don't break one line blocks"
« Reply #2 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 :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

royalbox

  • Guest
Re: AStyle "don't break one line blocks"
« Reply #3 on: February 24, 2006, 12:31:07 pm »
Ok thanks, it must be a bug then. Any chance of it being fixed?