Removed begin_edit and end_edit so it should be Sublime Text 3 compatible