[TxMt] Re: scopeAttributes and deactivate working?

Edwin Moss ed.moss at 4ssom.com
Wed Feb 29 15:47:10 UTC 2012


Perfect!

That did the trick!

Thanks!

Ed.

On Feb 29, 2012, at 8:17 AM, David Howden wrote:

Hi Ed.

Try removing the scope selector and see if it works.  I have input set to "Nothing", and output to "Discard".

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.

David.

On Wed, Feb 29, 2012 at 3:12 PM, PowerPod <ed.moss at 4ssom.com> wrote:

I created a "Command" in my personal bundle with:

Scope Selector: attr.save-on-deactive
Key Equivalent:
Tab Trigger:
Semantic Class: callback.application.did-deactivate
Content Match:
Save: Modified Documents
Input: Scope     Format: Text
Output: Replace Input    Format: Text
Caret Placement: After Output
Scroll for new output (unchecked)

Still no joy. Yes, I am anxious to get this working. :) I really appreciate
your help.

Thanks,

Ed.


David Howden wrote:
>
> Hi
>
> Ok, so as I understand it you you now need to have a command which has the
> scope set to attr.save-on-deactive, and is fired by the semantic
> class: callback.application.did-deactivate
> and is set to save all modified documents.
>
> David.
>
> On Tue, Feb 28, 2012 at 5:00 PM, Edwin Moss <ed.moss at 4ssom.com> wrote:
>
>> I am having no joy in getting this to work in my .tm_properties file.
>>
>> [ *.{rb,erb,haml,js,html} ]
>> scopeAttributes = 'attr.save-on-deactivate'
>>
>> Has anyone else got it to work? Any help would be appreciated.
>>
>> Thanks,
>>
>> Ed
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>>
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>

--
View this message in context: http://old.nabble.com/scopeAttributes-and-deactivate-working--tp33408128p33414690.html
Sent from the textmate users mailing list archive at Nabble.com.


_______________________________________________
textmate mailing list
textmate at lists.macromates.com
http://lists.macromates.com/listinfo/textmate


_______________________________________________
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/2744725b/attachment.html>


More information about the textmate mailing list