Now I’m trying to get it to format function declarations like this:
function RegisterClipboardFormatW(lpszFormat: PWideChar): UINT; stdcall; external user32 Name 'RegisterClipboardFormatW';
or something as simple as this;
procedure bla; overload; forward;
Currently it doesn’t indent the additional lines. It works fine for method declarations though.
By pure chance I found a nasty side effect in the code.