On Wed, 21 Sep 2005 09:41:52 +0200
Piotr Fusik <[EMAIL PROTECTED]> wrote:

>
>I repeat it for the third time: use tabs in a way that their size
>doesn't matter.

Thats impossible, ' cause therefore the size tab has to be spezified
inside the fonts. That means there has to be something like an RFC
which says: We expect the tab char size to be n-times the size of the
space character in y-Direction.
Or: We expect the tab size to be 1cm.

But that will contradict the concept of tabstop as an variable
absolute position marker and a tabchar as a command 'go to the next
tabstop and write down from there.

As most GUIs nowadays allows to transform something like global
koordinates, which depends on output media size and resolution, into
local pixelkoordinates, it would be the most consequent way to spezify
tabstops via an globalpositioning parameter like it is in
word-processing-systems.

>From the concepts point of view, there is no, really no, dependency
between tabs(tops) and spaces.
Additional, there is no algorithm possible to transform tabs into
spaces an vice versa.

>I'm in a closed source project where you can find tabs in some files,
>spaces in other and a mix of tabs and spaces in some other.

It might be a solution to run something called pretty printer over
all that files, to have a consistent use of tabs and other codingstyle
guidelines, as it can be used in some codedatabases and
Revision-Control-Systems.
For (x)html you can use tidy.

-- 
Ervin Peters

Weimar, Germany
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to