Tabs -vs- Spaces: Tabs should have won.
rantingrick at gmail.com
Sun Jul 17 22:22:06 CEST 2011
On Jul 17, 2:34 pm, Thorsten Kampe <thors... at thorstenkampe.de> wrote:
> Indentation alignment will (because you're using only spaces). Otherwise
> it doesn't align (it can't), simply because of the "variable-width".
> For instance (in a variable-width font):
> if a == b:
> var123 = 22
> varxyz456 = 333
> ^^^^ ^^^^^
> aligned not aligned
Tabs will align properly in variable width font if the editor is NOT
broken. When displaying a variable width font the editor should switch
from using the sum of N glyphs to a user defined total width in
absolute measurements (like millimeters). Alternatively if the editor
had to guess it could just use the widest glyph of the current set.
People, please stop using broken tools. If you stop using them people
won't keep producing them. Just imagine how great the world would be
if we could convince windows users!
More information about the Python-list