On Jan 13, 2015, at 4:45 PM, Steven Clukey saclukey@live.com wrote:
Well, TM doesn’t yet support calling command upon modification of the file,
Semantic Class: callback.document.did-save
Wouldn't that do it? Called whenever a file is saved (subject to scope selector etc of course).
Gerd
so it may not be quite possible yet.
Used here: https://github.com/wakatime/sublime-wakatime/blob/master/WakaTime.py#L243
I’m not sure how important this is to WakaTime’s accuracy, though it seems like it would be so it may have to wait for now.
Steven
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate