[Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting "case"]

Graeme Geldenhuys graemeg.lists at gmail.com
Sat May 29 16:20:39 CEST 2010


On 29 May 2010 14:53, Henry Vermaak wrote:
>
> I use the tab key for indentation, never alignment (after text).  This
> way it always looks good for everyone's tab-space settings.  In the
> very rare case I need alignment, I'll use spaces.  You are writing
> code, after all, not designing a powerpoint presentation.

Just try the ET java demo. One tab character can do indentation and
one tab character can do alignment (eg: comments after code). No
matter the developers indent/alignment preference, everybody's code
will look they way they like it.

Another awesome thing which your method of alignment fails miserably
(using spaces). If the code text becomes longer, you need to re-align
all the other comments. ET does this all automatically (without the
need for extra tab characters) - just keep coding. This is all visible
in the small java ET demo (but remember the small java demo is not
tuned for performance with large files - the gEdit plugin is much
faster).


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/




More information about the Lazarus mailing list