On 3/17/07, Vincent Snijders <[EMAIL PROTECTED]> wrote:
There is prettyformat in the lazarus\components directory. It is an IDE
plug-in. It doesn't work too well in my experience though, but that
might be just that its default settings are not good enough.
I forgot about that, and it's exactly what I want. I had a look at
the prettyformat package and it uses 'ptop', or at least the code of
'ptop'.
I agree with you, the default formatting settings suck! :-)
I'm working on a config file to format code as per Borland's Object
Pascal coding standards.
The other problem I have, is duplication. Why does Lazarus have a copy
of the ptopu.pp unit? Yes there are some minor changes, but that is
something that should rather go to the FPC code as well. Why can't we
just use the unit that is part of FPC in the /utils directory? That
way if we or anybody else for that matter makes future changes or
improvements to the unit, both Lazarus and FPC benefits from it.
Can Lazarus find/reference units in the FPC's /utils directory?
--
Graeme Geldenhuys
There's no place like S34° 03.168' E018° 49.342'
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives