On 12/03/2013, at 12:00, textmate-dev-requ...@lists.macromates.com wrote:

> Message: 1
> Date: Mon, 11 Mar 2013 14:09:30 +0100
> From: Allan Odgaard <mailingl...@textmate.org>
> To: TextMate developers <textmate-dev@lists.macromates.com>
> Subject: [txmt-dev] Re: Disable automatic indent corrections ignored
> Message-ID: <51457cca-17f1-4653-a474-13e4eca35...@textmate.org>
> Content-Type: text/plain; charset=windows-1252
> 
> On Mar 11, 2013, at 12:24 PM, Paulo Moura <pmo...@logtalk.org> wrote:
> 
>> [?] this setting is ignored in the past few 2.0 alpha versions
> 
> It still works here. Tested typing in a plain text document with a line above 
> the current being indented.


I see that the plain text bundle defines the setting:

{       disableIndentCorrections = '1';
        indentOnPaste = 'simple';
}

I assume that "disableIndentCorrections = '1';" is equivalent to 
"disableIndentCorrections = :true;" (which, if I recall correctly, allows 
compatibility with TextMate 1.x).

The new bit here is the "indentOnPaste" key, which I was not aware before (I 
probably missed it in the release notes of some past TextMate version). Looking 
for the possible values for this key I found:

http://stackoverflow.com/questions/12538366/what-are-the-options-for-textmate-2s-indentonpaste-or-how-do-i-fully-disable-i

Using the value "simple" seems to work in my case :-)

Cheers,

Paulo


-----------------------------------------------------------------
Paulo Moura
Logtalk developer

Email: <mailto:pmo...@logtalk.org>
Web:   <http://logtalk.org/>
-----------------------------------------------------------------




_______________________________________________
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to