[TxMt] No Auto Indent..

Eric Coleman eric at aplosmedia.com
Sat Feb 18 21:56:47 UTC 2006


Ok,

Figured it out this time, it occurs when I disabled the "Source"  
bundle... not sure why I did that...

Eric Coleman


On Feb 18, 2006, at 4:41 PM, Eric Coleman wrote:

> Actually, I lied, it's not working.
>
> I should get this:
>
> function test()
> {
>     | <- cursor
> }
>
> instead, I get
>
> function test()
> {
> | <- cursor
> }
>
> It's not just php, happens in JS as well.  The source is using Soft  
> Tabs: 4, and thats what the status bar in TM is.
>
>
> Eric Coleman
>
>
>
> On Feb 18, 2006, at 2:19 PM, Eric Coleman wrote:
>
>> Not sure why this happened, but I edited the PHP file on windows,  
>> which ment I had a mix of expanded tabs (spaces) and tabs...
>>
>> each file I went to Text -> Convert -> Tabs to Spaces
>>
>> And then... all of a sudden started working again properly.
>>
>> Sorry!
>>
>> Eric Coleman
>>
>> On Feb 17, 2006, at 10:29 PM, Allan Odgaard wrote:
>>
>>> On 17/2/2006, at 22:15, Eric Coleman wrote:
>>>
>>>> Not sure what you need to debug this, but all of a sudden  
>>>> indentation has stopped working in the php bundle.  I've tried  
>>>> trashing the pref files, my bundles and themes, and even  
>>>> trashing txmate itself, and nothing is bringing it back.
>>>
>>> Is this indent as in, pressing tab 3 times, then return, and have  
>>> 3 tabs inserted at next line before the caret?
>>>
>>> Is this local to PHP?
>>>
>>> Does your source use hard or soft tabs, and is your tab setting  
>>> (in the status bar) the same? There is currently a problem with  
>>> using e.g. spaces to indent in the source, and having soft tabs  
>>> disabled -- then TM will ignore the spaces in the source when  
>>> calculating indent.
>>>
>>>
>>> ____________________________________________________________________ 
>>> __
>>> 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
>>
>>
>> _____________________________________________________________________ 
>> _
>> 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
>
>
> ______________________________________________________________________
> 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