[Lazarus] Auto indentation

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Nov 5 13:39:34 CET 2009


On Thu, 05 Nov 2009 14:11:54 +0200
Graeme Geldenhuys <graeme at mastermaths.co.za> wrote:

> Mattias Gaertner wrote:
> > 
> > BTW,
> > Elastic tabstops define the position of tabstops, it does not add
> > tabs. That's the job of auto indentation. Both are useful.
> 
> Exactly my point. :-)

Then please use another subject.


> The code formatting I showed in my previous message was simply to show
> that various code formatting style are already present is Lazarus and
> FPC source code. And all developers live with it. So if Elastic
> Tabstops implementation doesn't do a 100% job on conversion from Tabs
> to Spaces, it's definitely not the end of the world - because there
> already exists various code formating rules the Lazarus and FPC code.

You don't need to go that far. Even in lazarus exists several different
packages and formatting styles. And that is good. Monoculture is bad.
But mixing several styles in one unit is confusing.

Mattias




More information about the Lazarus mailing list