Discussion:
[Lazarus] IDE makes not nice wrap of long line
AlexeyT via Lazarus
2018-08-28 18:06:23 UTC
Permalink
From my options I get sometimes such wrapped line (of auto inserted
method implementation when I press "complete class" hotkey)

procedure TfmMain.EditKeyDown(Sender: TObject; var Key: Word; Shift:
TShiftState
  );
begin

My wish: don't wrap ');' to next line, always keep at at prev line.
--
Regards,
Alexey

--
Mattias Gaertner via Lazarus
2018-08-28 18:26:09 UTC
Permalink
On Tue, 28 Aug 2018 21:06:23 +0300
Post by AlexeyT via Lazarus
From my options I get sometimes such wrapped line (of auto inserted
method implementation when I press "complete class" hotkey)
TShiftState
  );
begin
My wish: don't wrap ');' to next line, always keep at at prev line.
Tools / Options / Codetools / Line splitting

Mattias
--
AlexeyT via Lazarus
2018-08-28 18:48:08 UTC
Permalink
Post by Mattias Gaertner via Lazarus
Tools / Options / Codetools / Line splitting
Thanks. but then Preview- here- works incorrect - it shows always ); at
then end of line, even if I have "[ ] Brackets". Picture.
--
Regards,
Alexey
Mattias Gaertner via Lazarus
2018-08-28 19:01:49 UTC
Permalink
On Tue, 28 Aug 2018 21:48:08 +0300
Post by AlexeyT via Lazarus
Post by Mattias Gaertner via Lazarus
Tools / Options / Codetools / Line splitting
Thanks. but then Preview- here- works incorrect - it shows always ); at
then end of line, even if I have "[ ] Brackets". Picture.
Your screenshot shows 'do not split line after keyword', here: 'const'.

Mattias
--

Continue reading on narkive:
Loading...