Ported for Sublime Text 3