[TxMt] Re: textmate Digest, Vol 45, Issue 51
David Howden
dhowden at gmail.com
Wed Feb 29 22:00:06 UTC 2012
>
> I had to use "attr.save-on-deactivate" in the Scope Selector instead, but
> that did the trick! Thanks so much for explaining this to me.
>
> Ah yes! Apologies - silly typo!
David.
> On Wed, Feb 29, 2012 at 12:39 PM, <textmate-request at lists.macromates.com>wrote:
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Wed, 29 Feb 2012 18:39:20 +0000
>> From: David Howden <dhowden at gmail.com>
>> To: TextMate users <textmate at lists.macromates.com>
>> Subject: [TxMt] Re: textmate Digest, Vol 45, Issue 50
>> Message-ID:
>> <CAP2kWKGbE+81=
>> t_5On1x_hDbdXaZr9LOO7gTwWifCUnxk+NH-Q at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Hi,
>>
>> So this works for me. In the .tm_properties file:
>>
>> [ *.tex ]
>> scopeAttributes = 'attr.save-on-deactivate'
>>
>> Then put attr.save-on-deactive in the scope for the 'Save on focus lost'
>> command.
>>
>> Be careful: scopeAttributes seem to only be attached to files when you
>> open
>> them, so if you change .tm_properties be sure to re-open the files. You
>> can make sure that the scope attribute has been set by using the "Show
>> Scope" command in bundle development or Ctrl-Shift-P, just to check that
>> the attribute is being set properly.
>>
>> David.
>>
>>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20120229/b1a9e121/attachment.html>
More information about the textmate
mailing list