On 21/01/2008, Vinzent Hoefler <[EMAIL PROTECTED]> wrote: > > But how would it solve > > |type > | FooBar = (Foo, > | Bar);
Look at the flash demo on the website for an example of this! Lets say gEdit (linux editor) has support for ET. You would type type <tab>FooBar = (<tab>Foo, <tab>Bar ); That would result in (if you email shows monospaced fonts): type FooBar = ( Foo, Bar ); The other nice thing is, it's font independent. You can even use variable width fonts and it will still line up correctly. Whenever you press TAB, it tries to find the closest TabStop (a tabstop is NOT a tab character) normally from the lines before it. Then when you save, it can convert the alignment to spaces. If the editor fully support ET then you can set the MinimumWidth (defaults to 40 pixels I think) and PaddingWidth (defaults to 16 pixels I think). As you can see it uses pixels and not character widths. ET changes the visual appears in the editor and it does this with editor TabStops and not inserted characters. As I said, it took me a while to fully understand ET as well. :) 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