Ejemplo n.º 1
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)
Ejemplo n.º 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)