[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Thu, 2004-04-15 at 17:35, Jason Winnebeck wrote:
> I remembered another case where tabs gives a problem -- right side
> boundary. If you say the max line width is 100 characters or 80
> characters, the line length changes when using tabs, but not spaces.
> This might cause the editor to do wrapping (as in VI) which looks bad,
> or scrolling, which is inconvient.
>
> I have this same problem with smart tabs, but we resolve the problem by
> setting the line length conservatively so that people with longer tab
> sizes will not have to scroll, but people with shorter tabs will not use
> the entire editor screen.
>
Interesting. This would mean, the code would display right with any tab
size, since indentation size would always be tab size - and additional
formatting would use only spaces. So, it would be ideal. Just, there
would be the problem of editing. Nobody could easily modify the source,
unless this person had an editor with the smart-tab feature.
So, the only solution left if we don't want to force a fixed tabsize
would be using spaces only, which I prefer personally. But I already
made the experience that some people can't live with that :)
So, it looks like we'll have to live with 8-3 indentation. Still, was
worth a try :)
--
Elias Pschernig <elias@xxxxxxxxxx>