Sign in Join

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

Mailing lists / lazarus / 2013-07

Code Completion: spaces around ':='

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Marc Santhoff

Hi,

as said in the subject, if hitting CTRL-space and selecting a property or object variable the code inserted look like this:

  "if fHasStatusBar then StatusBar.Visible:=;"

What I'd like to have is like that:

  "if fHasStatusBar then StatusBar.Visible := ;"

How can this behaviour get tuned?

TIA,
Marc

Marc Santhoff

Reply by email

Mattias Gaertner
to Marc Santhoff
Show quoted text 12 lines
Hi, as said in the subject, if hitting CTRL-space and selecting a property or object variable the code inserted look like this: "if fHasStatusBar then StatusBar.Visible:=;" What I'd like to have is like that: "if fHasStatusBar then StatusBar.Visible := ;" How can this behaviour get tuned?

Tools / Options / CodeTools / Space

Mattias

Reply by email

Vojtěch Čihák
to Marc Santhoff: as said in the subject, if hitting CTRL-space and selecting a property or object variable…

Hi,
Tools -> Options... -> (node) Codetools -> (node) Space ?
Insert space in front of: Symbol
Insert space after: Symbol
?
Vojt?ch?
______________________________________________________________

Show quoted text 5 lines
Od: "Marc Santhoff" Komu: Datum: 07.07.2013 14:54 P?edm?t: [Lazarus] Code Completion: spaces around ':='

Hi,

as said in the subject, if hitting CTRL-space and selecting a property or object variable the code inserted look like this:

 ?"if fHasStatusBar then StatusBar.Visible:=;"

What I'd like to have is like that:

 ?"if fHasStatusBar then StatusBar.Visible := ;"

How can this behaviour get tuned?

TIA,
Marc

Marc Santhoff --

Reply by email