[TxMt] Re: callback.document.will-save order

Allan Odgaard mailinglist at textmate.org
Thu Nov 29 09:46:57 UTC 2018


On 29 Nov 2018, at 14:24, Uğur Özyılmazel (vigo) wrote:

> Hi. Let's say I have 3 commands and they all use 
> `callback.document.will-save` as semantic class. What is the order of 
> execution? or How can I set the order?

In practice TextMate keeps all items in an ordered container indexed by 
their semantic class.

So you should be able to add an alphanumeric suffix to the semantic 
class to affect sorting, e.g.:

- `callback.document.will-save.1`
- `callback.document.will-save.2`
- `callback.document.will-save.3`

Can you let me know what the 3 callbacks each do? Using the semantic 
class system for callbacks was a quick prototype that never evolved into 
a proper system, but I still have an open issue about it, so it would be 
good to add dependency requirement examples to this issue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20181129/c9fbc5a1/attachment.html>


More information about the textmate mailing list