Exemple #1
0
 def buffer_id(self):
     return sublime_api.view_buffer_id(self.view_id)
Exemple #2
0
 def is_valid(self):
     """ Returns true if the View is still a valid handle. Will return False for a closed view, for example. """
     return sublime_api.view_buffer_id(self.view_id) != 0
Exemple #3
0
 def is_valid(self):
     return sublime_api.view_buffer_id(self.view_id) != 0
Exemple #4
0
 def is_valid(self):
     """ Returns true if the View is still a valid handle. Will return False for a closed view, for example. """
     return sublime_api.view_buffer_id(self.view_id) != 0
Exemple #5
0
 def buffer_id(self):
     return sublime_api.view_buffer_id(self.view_id)
Exemple #6
0
 def is_valid(self):
     return sublime_api.view_buffer_id(self.view_id) != 0