aBothe/Mono-D — Issue #15: Curly Brace Indentation Errors
Author: HiddenSpartan
Created: 2012-01-03 09:02:07+00:00
State: open

When opening a brace that is not in the 1st column, it is snapped to the first indentation level. When closing a brace, it is snapped down to the zeroth indentation column. Code written inbetween is unaffected.

eg:

void main(string[] args)
{
if(true)
{
writeln("Hello, World!");
for(int i=0; i<5;i++)
{
i = i % 4;
if(i == 3)
{
i++;
}
}
}
}