[TxMt] Re: Bundles & Commands Questions

Jacob Carlborg doob at me.com
Tue Jan 17 18:56:27 UTC 2017


Yeah, why not. Or in the manual [1], perhaps under References.

[1] http://manual.textmate.org/

-- 
/Jacob Carlborg

> On 17 jan 2017, at 18:58, Attila Györffy <attila.gyorffy at gmail.com> wrote:
> 
> Hey Jacob,
> 
> Thanks for collecting these. What does the community think, should these be placed on the github wiki on a page so that it’s searchable and easier to discover?
> https://github.com/textmate/textmate/wiki <https://github.com/textmate/textmate/wiki>
> 
> What do you think?
> 
> — Attila
> 
> ATTILA GYÖRFFY
> I develop software.
> 
> attilagyorffy.com <http://attilagyorffy.com/> | @attilagyorffy <http://www.twitter.com/attilagyorffy> |  | in/attilagyorffy <http://linkedin.com/in/attilagyorffy> | github.com/attilagyorffy <http://www.github.com/attilagyorffy>
> 
> Every time you print an email, a tree is marked for death.
> Trees provide O2. You need that to breathe, remember? 🌳
> 
>> On 17 Jan 2017, at 18:46, Jacob Carlborg <doob at me.com <mailto:doob at me.com>> wrote:
>> 
>> 
>>> On 17 jan 2017, at 05:33, じょいすじょん <dangerwillrobinsondanger at gmail.com <mailto:dangerwillrobinsondanger at gmail.com>> wrote:
>>> 
>>> I have found that I had to finally learn to create Commands in a TM Bundle to move beyond what snippets alone can do (even though they have such a brilliantly simple syntax...)
>>> Is there any canonical listing of values to use Semantic Class hooks?
>> 
>> 
>> This is a list of semantic class callbacks that I’ve managed to collect from different places:
>> 
>> * callback.application.did-activate
>> * callback.application.did-deactivate
>> * callback.document.binary-export
>> * callback.document.binary-import
>> * callback.document.did-reload
>> * callback.document.did-save
>> * callback.document.export
>> * callback.document.import
>> * callback.document.will-reload
>> * callback.document.will-save
>> * callback.double-click
>> * callback.file-browser.action-menu
>> * callback.mouse-click (old)
>> * callback.single-click
>> * callback.triple-click
>> 
>> For mouse click callbacks, the following modifiers can be used:
>> 
>> * dyn.modifier.shift
>> * dyn.modifier.control
>> * dyn.modifier.option
>> * dyn.modifier.command
>> 
>> The modifiers are set in “Scope Selector”.
>> 
>> -- 
>> /Jacob Carlborg
>> 
>> _______________________________________________
>> textmate mailing list
>> textmate at lists.macromates.com <mailto: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/20170117/41f7eb31/attachment.html>


More information about the textmate mailing list