<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Perfect!<div><br></div><div>That did the trick!</div><div><br></div><div>Thanks!</div><div><br></div><div>Ed.</div><div><br><div><div>On Feb 29, 2012, at 8:17 AM, David Howden wrote:</div><br class="Apple-interchange-newline">Hi Ed.<div><br></div><div>Try removing the scope selector and see if it works. I have input set to "Nothing", and output to "Discard".</div><div><br></div><div>I have added the command to the text bundle, so if you are still having problems I can just send you a copy of that.</div>
<div><br></div><div>David.<br><br><div class="gmail_quote">On Wed, Feb 29, 2012 at 3:12 PM, PowerPod <span dir="ltr"><<a href="mailto:ed.moss@4ssom.com">ed.moss@4ssom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I created a "Command" in my personal bundle with:<br>
<br>
Scope Selector: attr.save-on-deactive<br>
Key Equivalent:<br>
Tab Trigger:<br>
Semantic Class: callback.application.did-deactivate<br>
Content Match:<br>
Save: Modified Documents<br>
Input: Scope Format: Text<br>
Output: Replace Input Format: Text<br>
Caret Placement: After Output<br>
Scroll for new output (unchecked)<br>
<br>
Still no joy. Yes, I am anxious to get this working. :) I really appreciate<br>
your help.<br>
<br>
Thanks,<br>
<br>
Ed.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
David Howden wrote:<br>
><br>
> Hi<br>
><br>
> Ok, so as I understand it you you now need to have a command which has the<br>
> scope set to attr.save-on-deactive, and is fired by the semantic<br>
> class: callback.application.did-deactivate<br>
> and is set to save all modified documents.<br>
><br>
> David.<br>
><br>
> On Tue, Feb 28, 2012 at 5:00 PM, Edwin Moss <<a href="mailto:ed.moss@4ssom.com">ed.moss@4ssom.com</a>> wrote:<br>
><br>
>> I am having no joy in getting this to work in my .tm_properties file.<br>
>><br>
>> [ *.{rb,erb,haml,js,html} ]<br>
>> scopeAttributes = 'attr.save-on-deactivate'<br>
>><br>
>> Has anyone else got it to work? Any help would be appreciated.<br>
>><br>
>> Thanks,<br>
>><br>
>> Ed<br>
>><br>
>><br>
>> _______________________________________________<br>
>> textmate mailing list<br>
>> <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
>> <a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> textmate mailing list<br>
> <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
> <a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/scopeAttributes-and-deactivate-working--tp33408128p33414690.html" target="_blank">http://old.nabble.com/scopeAttributes-and-deactivate-working--tp33408128p33414690.html</a><br>
Sent from the textmate users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</div></div></blockquote></div><br></div>
<br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>http://lists.macromates.com/listinfo/textmate</div><br></div></body></html>