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