[TxMt] Question/Request: onChange Trigger

Hans-Joerg Bibiko bibiko at eva.mpg.de
Wed Apr 11 07:17:05 UTC 2007


Hi,

I have a tiny question.

Would it be possible to implement a kind of a 'onChange'-trigger in  
TM (à la Javascript).
The normal way to invoke a command is to use a key combination, fine.  
But I would like to invoke a specific command/macro based on the  
current scope by changing the content of document (inserting/deleting).
The application range would be multifarious.

For 'onLoad' and 'onSave' I rebound the apple+O/S in conjunction with  
TM_SCOPE. This works perfectly.

Thanks,

Hans


More information about the textmate mailing list