[fpc-other] Underscores in numerical literals - grouping

Jürgen Hestermann juergen.hestermann at gmx.de
Wed Nov 23 19:10:54 CET 2016


Am 2016-11-23 um 15:03 schrieb Graeme Geldenhuys:
 > If you want columns, then columns you shall have. ;-)
 > See attachment. I've also reduced the tabSize to 2, to make it more
 > representative of common Object Pascal coding style standards.

Well, actually I would like to have the tabsize zero.
I just want to align with tabs, not add space.
These 2 things should not be combined.


 > The only thing I can see that is still different to your original code
 > [which ET can't do] is make your const/var column right aligned.

Yes, although this would be no show stopper for me.


 > See attached screenshot. Again, I've enabled jEdit's setting to show
 > where I inserted TAB characters to make it easier to reproduce.

Looks nearly as I would like it.
If only I could specify a new block without adding a line without tabstops
then I would be very interested in these elastic tabstops.
Currently, whenever I change variable or parameter names
I have to (re)align manually which would be automatic with ET.

The other drawback of ET is, that all alignment is gone if you
view the code in an editor that does not support ET.
But if it would become more common, this issue may go away over time...



More information about the fpc-other mailing list