I have used C::B 10.5 until upgrading recently to 13.12 (Windows version). It seems that Smart/AutoIndent & Brace Smart Indent do not cooperate any more with Source Formatting, specifically with the
Whitesmith format. This is how the sample is supposed to look like:
int Foo(bool isBar)
{
if (isBar)
{
bar();
return 1;
}
else
{
return 0;
}
}
In the old CB, as soon as the open brace was typed at indent +2, the closing brace would be appear right below it, with empty line & cursor ready for the block in between.
In the new version, typing the same way, the code ends up looking like this, as if forcing some other source formatting style:
int Foo(bool isBar)
{
if (isBar)
{
bar();
return 1;
}
else
{
return 0;
}
}
I tried various settings on Smart/AutoIndent, Brace SmartIndent and Source Formatting, but no luck. Has anyone found how to make SmartIndent & braces work for Whitesmith formatting?