[Lazarus] Request to change title of bug Summary

Zaher Dirkey parmaja at gmail.com
Thu Nov 5 14:30:40 CET 2009


On Thu, 05 Nov 2009 09:08:10 +0200
Graeme Geldenhuys <graeme at mastermaths.co.za> wrote:

> Hans-Peter Diettrich wrote:
>[...]
> > I'd agree with different tabstop codes, so that the formatting can
> > be undone or suppressed at any time.
> 
> Code formatting has always been a screw-up, and no idea is a perfect
> one, that even applies to spaces. I simply think Elastic Tabstops is a
> point in the right direction and solves more formatting problems that
> it causes. Compare that to other methods...
> 
> As for examples of screwed-up formatting... Just look at Lazarus and
> FPC code.
> 
> We have hundreds of variations as follows:
> 
> ---------------------
>    procedure Myproc;
> vs
>    procedure Myproc ;

What has this to do with elastic tabstops?


> ---------------------
> 
>    procedure Myproc;
> 
>    var
>      i: string;
> 
>    begin
>     ...
> vs
>    procedure Myproc;
>    var
>      i: string;
>    begin
>     ...

Same here ...


> ---------------------
> 
> Or the old favourite...
> 
>   if a=b then begin
>     ...
> vs
>   if a = b then
>   begin
>     ...

... and here?

BTW,
Elastic tabstops define the position of tabstops, it does not add
tabs. That's the job of auto indentation. Both are useful.


>[...]
> I can see you don't understand how elastic tabstops work. Neither did
> I at first. No problem, maybe the original website might explain it
> better, including the java applet editor which has elastic tabstops
> support.  Also view the gEdit screencast.
> 
>    http://nickgravgaard.com/elastictabstops/


Mattias




More information about the Lazarus mailing list