Ok well I've switched to the callback.document.did-save semantic class and that seems to work. Still a bit odd that it works fine on my home computer the other way but not on my laptop. Ahhh well, it doesn't really matter as long as it works. Thanks for getting me to the finish line.

Ken


On 22 August 2013 09:58, Allan Odgaard <mailinglist@textmate.org> wrote:
On 22 Aug 2013, at 9:04, Ken Snyder wrote:

[…] Any idea how I can get ⌘S to do both not either-or?

What you probably want is to leave the key equivalent bland and instead give it a semantic class of callback.document.did-save or maybe callback.document.will-save (if you want it to run before saving).

Be sure to also have the command’s ‘Save’ pop-up set to ‘Nothing’ (to avoid an infinite loop).

Depends of course of your goal, but with the above, you can set the command’s output to be a tool tip, where you can then optionally show errors from validation.


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