On 21/01/2008, Vinzent Hoefler <[EMAIL PROTECTED]> wrote:
>
> As an example where most tools just put out nonsense, consider this:
>
> |type
> |   CPU_Ins = (Add,  Sub, Mul, Div,
> |              Jnz,  Jz,  Jnc, Jc,
> |              Call, Ret,
> |              Push, Pop,
> |              ...);

This is so easy to accomplish with 'elastic tabstops' (ET).  ET is all
about keeping alignment of text in columns. Trailing comments, column
in code like you shown above etc..Just watch the flash demo of ET or
try the Java example (though a bit dated I believe).

> So what does the tool do? Reformat it to some kind of coding standard
> like that:
>
> type CPU_Ins = (Add, Sub, Mul, Div, Jnz, Jz, Jnc,
>                 Jc, Call, Ret, Push, Pop, ...)

ET doesn't do this!


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to