예제 #1
0
    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)
예제 #2
0
파일: sublime.py 프로젝트: ronnyzxr/aml
 def insert(self, edit, pt, text):
     sublime_api.view_insert(self.view_id, edit.edit_token, pt, text)
예제 #3
0
    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)