コード例 #1
0
ファイル: sublime.py プロジェクト: ronnyzxr/aml
 def set_scratch(self, scratch):
     """ Sets the scratch flag on the text buffer. When a modified scratch buffer is closed, it will be closed without prompting to save. """
     return sublime_api.view_set_scratch(self.view_id, scratch)
コード例 #2
0
 def set_scratch(self, scratch):
     """ Sets the scratch flag on the text buffer. When a modified scratch buffer is closed, it will be closed without prompting to save. """
     return sublime_api.view_set_scratch(self.view_id, scratch)