[TxMt] Indenting by the wrong amount
Allan Odgaard
throw-away-1 at macromates.com
Mon Jul 16 10:12:48 UTC 2007
On 12. Jul 2007, at 11:35, Jeremy Wilkins wrote:
> Recently I've been finding that textmate seems to be indenting/
> autoindenting to the wrong number of chars. I've got the
> indentation set to 'Soft Tabs: 2' but I'm finding that when I tab
> along, I'll end up indenting to a odd number of chars, eg 3 or 5.
> I'm also finding that when I'm writing HTML, if I use Ctrl< to
> writing the opening and close tag, then press enter, I'll only be
> indented 1 char in from the containing tag, not two as expected.
>
> Any ideas?
I don’t suppose you have a sample file and steps to reproduce?
It could be that your files use a mixture of tabs and spaces, which
may confuse the indent calculations.
More information about the textmate
mailing list