[SVN] Re: textmate-dev Digest, Vol 46, Issue 5

Paulo Moura pmoura at di.ubi.pt
Thu Mar 22 16:16:14 UTC 2012


> Message: 2
> Date: Thu, 22 Mar 2012 10:53:13 +0700
> From: Allan Odgaard <mailinglist at textmate.org>
> To: Bundle developers <textmate-dev at lists.macromates.com>
> Subject: [SVN] Re: Indentation issues (Allan Odgaard)
> Message-ID: <1B025FCA-BC89-41CE-9456-30F294BEC85B at textmate.org>
> Content-Type: text/plain; charset=windows-1252
> 
> On 22/03/2012, at 07.11, Paulo Moura wrote:
> 
>>> The new auto-correction behavior can be disabled, see http://wiki.macromates.com/FAQ/TextMate2
>> Thanks for the FAQ. It would be nice if the solution for disabling the auto correction behavior would be syntactically valid (even if not operative) for TM 1.x (so that the same language bundle could work on both TM 1.x and TM 2.x), however.
> 
> It is.


I got syntax errors the first time I tried it to add (as per the FAQ):

{ disableIndentCorrections = :true; }

Tried it again today by creating a new bundle preferences item and adding the line above. I get:

line 1:30: unexpected char: ':'

I'm using TM 1.5.10 (1631). I can workaround the error by writing instead:

{ disableIndentCorrections = ':true'; }

Is this equivalent syntax?

Cheers,

Paulo


-----------------------------------------------------------------
Paulo Jorge Lopes de Moura, PhD
Assistant Professor
Dep. of Computer Science, University of Beira Interior
6201-001 Covilhã, Portugal

Office 3.18  Ext. 3276
Phone: +351 275 242081 Fax: +351 275 319899
Email: <mailto:pmoura at di.ubi.pt>

Home page: <http://www.di.ubi.pt/~pmoura>
Research:  <http://logtalk.org/> Blog: <http://blog.logtalk.org/>
-----------------------------------------------------------------










More information about the textmate-dev mailing list