def active_sheet(self): sheet_id = sublime_api.window_active_sheet(self.window_id) if sheet_id == 0: return None else: return Sheet(sheet_id)