[TxMt] Automagically figuring out tab size?
chris feldmann
cfeldmann at gmail.com
Wed Nov 16 18:16:48 UTC 2005
On 11/16/05, Allan Odgaard <throw-away-1 at macromates.com> wrote:
> On 16/11/2005, at 8.21, Graeme Mathieson wrote:
>
> > I don't suppose it would be possible for Textmate to make an
> > attempt to 'guess' the tab size (and whether the file is using hard/
> > soft tabs) when a file is opened? [...]
>
> The thought has crossed my mind -- my main concern is with how to
> properly indicate to the user that he's not using his default setting
> -- I was thinking something along the lines of highlighting the tab
> size setting in the status bar.
I hesitate to suggest this, but how about modlines ala emacs or vim?
/* vim:set ts=4 sw=4 nowrap: */
Does eliminate the guessing, anyway. Though some indicator that
defaults have been overridden would still be useful. What other clue
would textmate use anyway?
More information about the textmate
mailing list