On 29 Nov 2018, at 12:46, Allan Odgaard <mailinglist@textmate.org> wrote: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.
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
https://lists.macromates.com/listinfo/textmate