Consider the code fragment below:
C#switch (prp.CalculationUnit)
{
case ComponentCalculationUnit.lenght:
sizingFactor = component.OutlineSize.Width
* 0.001;
break;
case ComponentCalculationUnit.surface:
sizingFactor = component.OutlineSize.Width
* component.OutlineSize.Height
* 0.000001;
break;
}
And the wrapping settings as depicted below:
Considering this situation i'd expect the indentation as depicted to remain as it is upon issuing a clean-up/format action. However the result i get is this:
C#switch (prp.CalculationUnit)
{
case ComponentCalculationUnit.lenght:
sizingFactor = component.OutlineSize.Width
* 0.001;
break;
case ComponentCalculationUnit.surface:
sizingFactor = component.OutlineSize.Width
* component.OutlineSize.Height
* 0.000001;
break;
}
IMO this can be considered an unwanted feature :)
Hi,
I reproduced this issue. We will notify you here when we fix it. Please bear with us.