Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-08

IDE makes not nice wrap of long line

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

AlexeyT

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

Reply by email

Mattias Gaertner
to AlexeyT
Show quoted text 9 lines
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.

Tools / Options / Codetools / Line splitting

Mattias

Reply by email

AlexeyT
to Mattias Gaertner
Mattias Gaertner wrote
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: wrap-wrong.png Type: image/png Size: 54916 bytes Desc: not available URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180828/8ec238f7/attachment-0001.png>

Reply by email

Mattias Gaertner
to AlexeyT
Show quoted text 5 lines
On 28.08.2018 21:26, Mattias Gaertner via Lazarus wrote: > 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

Reply by email