When using the formatter on the following source code, the second var is indented to the same level as the variable below it:
procedure Test(a, b: TProc);
begin
end;
procedure TestCall;
begin
Test(
procedure
var
a: Integer;
begin
end,
procedure
var
a: Integer;
begin
end);
end;
I tested the code with all formatter configurations (borland, default, delforex, headwork, special, twm) and they all produce correct output - both var keywords are at the same indentation level (4 spaces), and both a: Integer; lines are indented to 6 spaces.
The formatter output for your test case looks correct (for "Borland" formatting):
I cannot reproduce the bug with the code you provided. Could you clarify:
It is possible that the problem has already been fixed. Are you using an older version of GExperts or did you recently compile a new DLL?
Thank you, I tested with the current version and the error did not occur anymore.