def insert(self, edit, pt, text): if edit.edit_token == 0: raise ValueError( "Edit objects may not be used after the TextCommand's run method has returned" ) return sublime_api.view_insert(self.view_id, edit.edit_token, pt, text)
def insert(self, edit, pt, text): sublime_api.view_insert(self.view_id, edit.edit_token, pt, text)
def insert(self, edit, pt, text): if edit.edit_token == 0: raise ValueError("Edit objects may not be used after the TextCommand's run method has returned") return sublime_api.view_insert(self.view_id, edit.edit_token, pt, text)