[fpc-pascal] FreePascal Coding style
Vinzent Hoefler
JeLlyFish.software at gmx.net
Mon Jan 21 13:01:03 CET 2008
On Monday 21 January 2008 12:40, Graeme Geldenhuys wrote:
> alignment as pretty as can be. But once you save, it inserts the
> correct amount of spaces to keep that same alignment on file or
> (preferred) inserts the minimum spaces for standard indentation
> (Object Pascal uses two spaces for indentation).
I still fail to see how it decides between new line of code (same
indentation level) and continuation line (exceeded 80 characters on a
line). Both case require different indendation.
> It doesn't use tab characters.
At least. ;)
But how would it solve
|type
| FooBar = (Foo,
| Bar);
?
The three spaces before FooBar are surely standard indendation (I use
three, yes), so I assume it can handle that, but the rest has to be
filled up with spaces. So what happens if I insert a "soft" tab after
the equal-sign? Would it automatically detect, that "Bar" should be
aligned precisely below the "Foo", but without the parentheses?
Vinzent.
More information about the fpc-pascal
mailing list