Fix wrong behavior in Textmate 2 (closes #6)