<font><font face="tahoma,sans-serif">David,</font></font><div><font><font face="tahoma,sans-serif"><br></font></font></div><div><font><font face="tahoma,sans-serif">I had to use "</font></font>attr.save-on-deactivate" in the Scope Selector instead, but that did the trick! Thanks so much for explaining this to me.<font><font face="tahoma,sans-serif"><br>
</font></font><br><div class="gmail_quote">On Wed, Feb 29, 2012 at 12:39 PM, <span dir="ltr"><<a href="mailto:textmate-request@lists.macromates.com">textmate-request@lists.macromates.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 29 Feb 2012 18:39:20 +0000<br>
From: David Howden <<a href="mailto:dhowden@gmail.com">dhowden@gmail.com</a>><br>
To: TextMate users <<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>><br>
Subject: [TxMt] Re: textmate Digest, Vol 45, Issue 50<br>
Message-ID:<br>
<CAP2kWKGbE+81=<a href="mailto:t_5On1x_hDbdXaZr9LOO7gTwWifCUnxk%2BNH-Q@mail.gmail.com">t_5On1x_hDbdXaZr9LOO7gTwWifCUnxk+NH-Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
So this works for me. In the .tm_properties file:<br>
<br>
[ *.tex ]<br>
scopeAttributes = 'attr.save-on-deactivate'<br>
<br>
Then put attr.save-on-deactive in the scope for the 'Save on focus lost'<br>
command.<br>
<br>
Be careful: scopeAttributes seem to only be attached to files when you open<br>
them, so if you change .tm_properties be sure to re-open the files. You<br>
can make sure that the scope attribute has been set by using the "Show<br>
Scope" command in bundle development or Ctrl-Shift-P, just to check that<br>
the attribute is being set properly.<br>
<br>
David.<br>
<br></blockquote></div></div>