Linked by Thom Holwerda on Tue 4th Jul 2006 10:35 UTC, submitted by anonymous
General Development When developping in a large team, you have to make convention about the use of tab in source code. This article suggests a better solution: rather than saying that a tab character (a 'hard tab') will move the cursor until the cursor's position is a multiple of N characters, we should say that a tab character is a delimiter between table cells. This has a nice side effect, since proportional fonts can now be used.
Thread beginning with comment 140164
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Right
by Mystilleef on Tue 4th Jul 2006 13:07 UTC in reply to "RE: Right"
Mystilleef
Member since:
2005-06-29

My editor Scribes does that. I believe VIM and Emacs also have such capabilities. Not many editors have the functionality but good ones do.

Reply Parent Bookmark Score: 1

RE[3]: Right
by TDavis on Tue 4th Jul 2006 13:16 in reply to "RE[2]: Right"
TDavis Member since:
2006-06-10

I'll put that on my todo list. Not very hard, unless it's context sensative.

Reply Parent Bookmark Score: 0

RE[4]: Right
by Mystilleef on Tue 4th Jul 2006 13:21 in reply to "RE[3]: Right"
Mystilleef Member since:
2005-06-29

The key is to ensure one tab point corresponds exactly to one space character, like most operating system do these days. That way the tab vs spaces argument essentially becomes a moot point. Because a tab will just be a bunch of spaces representing one character.

Reply Parent Bookmark Score: 1