On 01/03/2012, at 01.40, David Howden wrote:
[…] In the .tm_properties file:
[ *.tex ]
scopeAttributes = 'attr.save-on-deactivate'
Then put attr.save-on-deactive in the scope for the 'Save on focus lost' command.
Just for the records, one could also put ‘text.tex’ in the scope selector of the “Save on
The advantage of going via scopeAttributes is that then one can easily configure whether
or not to save on focus lost on a per-folder basis, add new file types w/o updating the
command’s scope selector, etc.