Menu

#161 Code formatter does not indent multiline function directives

New
open
nobody
None
5
2019-11-24
2019-11-24
No
function RegisterClipboardFormatW(lpszFormat: PWideChar): UINT; stdcall;
  external user32 Name 'RegisterClipboardFormatW';

gets incorrectly formatted as

function RegisterClipboardFormatW(lpszFormat: PWideChar): UINT; stdcall;
external user32 Name 'RegisterClipboardFormatW';

The second line should be indented.

And test

function RegisterClipboardFormatW(lpszFormat: PWideChar): UINT;
  stdcall;
  external user32
  Name 'RegisterClipboardFormatW';

too.

Discussion


Log in to post a comment.