[Lazarus] Code Completion: spaces around ':='

2013-07-07 Thread 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 m.santh...@web.de



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Code Completion: spaces around ':='

2013-07-07 Thread Vojtěch Čihák

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

Od: Marc Santhoff m.santh...@web.de
Komu: lazarus@lists.lazarus.freepascal.org
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 m.santh...@web.de



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Code Completion: spaces around ':='

2013-07-07 Thread Mattias Gaertner
On Sun, 07 Jul 2013 14:51:15 +0200
Marc Santhoff m.santh...@web.de wrote:

 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Code Completion: spaces around ':='

2013-07-07 Thread Marc Santhoff
Am Sonntag, den 07.07.2013, 16:41 +0200 schrieb Vojtěch Čihák:
 Hi,
 Tools - Options... - (node) Codetools - (node) Space
  
 Insert space in front of: Symbol
 Insert space after: Symbol

That did the trick, thank you both!

-- 
Marc Santhoff m.santh...@web.de


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus