[TxMt] Indenting by the wrong amount

Jeremy Wilkins jeremy at ibexinternet.co.uk
Tue Jul 17 13:26:12 UTC 2007


i'll try and get a reproducible testcase. its not doing it in the  
code I'm working on now :)

thanks
---
Jeremy Wilkins


On 16 Jul 2007, at 11:12, Allan Odgaard wrote:

> 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.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list