Re: [Lazarus] Smart Cut/Paste Spacing of declared variables and contants...

2010-10-21 Thread Graeme Geldenhuys
Op 2010-10-21 00:28, waldo kitty het geskryf: but i gotta ask... what can/will be used to determine the column for the colons to align on? what happens if something on that line is longer and the colon must be pushed over? how far to push it over? Elastic Tabstops will solve that too, by

[Lazarus] Smart Cut/Paste Spacing of declared variables and contants...

2010-10-20 Thread Andrew Brunner
var iCount: Integer; Commands : TDatabaseCommands; iLcv,iWhatEver: Integer; When I declare variables I tend declare them one per line but not always. I also place my : at column 34. When I cut/paste variables and they move

Re: [Lazarus] Smart Cut/Paste Spacing of declared variables and contants...

2010-10-20 Thread Graeme Geldenhuys
Op 2010-10-20 15:24, Andrew Brunner het geskryf: does not adjust the left side. To be REALLY smart and for declarations only, it would cool if the editor could remove some white space (if possible) between the end of the last declared variable and the colon. What you are looking for is

Re: [Lazarus] Smart Cut/Paste Spacing of declared variables and contants...

2010-10-20 Thread Mattias Gärtner
Zitat von Andrew Brunner andrew.t.brun...@gmail.com: var iCount: Integer; Commands : TDatabaseCommands; iLcv,iWhatEver: Integer; When I declare variables I tend declare them one per line but not always. I also place my : at

Re: [Lazarus] Smart Cut/Paste Spacing of declared variables and contants...

2010-10-20 Thread Andrew Brunner
On Wed, Oct 20, 2010 at 8:41 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: What you are looking for is called Elastic Tabstops. That feature will reproduce your expected behaviour exactly. That's totally awesome! That was neat how they had a demo page for trying it out. --

Re: [Lazarus] Smart Cut/Paste Spacing of declared variables and contants...

2010-10-20 Thread waldo kitty
On 10/20/2010 09:24, Andrew Brunner wrote: Notice that when I take declarations from one spot I want the colons to be in alignment. If I could get that when I copy/cut paste I would be totally impressed :-) +1 but i gotta ask... what can/will be used to determine the column for the colons