WrapLongLines (100 chars)
Input
procedure TSampleClass.functionx;
var
test: string;
begin
test := 'this is just a very long string 12345678789012345' + 'this is another very long string for '
+ 'example';
end;
Output
procedure TSampleClass.functionx;
var
test: string;
begin
test := 'this is just a very long string 12345678789012345' +
'this is another very long string for '
+ 'example';
end;
Expected (Indend + Remove uncessesary line wrap)
procedure TSampleClass.functionx;
var
test: string;
begin
test := 'this is just a very long string 12345678789012345' +
'this is another very long string for ' + 'example';
end;
This is not a bug. Wrap long lines only adds new line breaks, it does not remove them.
Feel free to file this functionality as a feature request (Actually there might already be one, I haven't checked.)