MCPcopy
hub / github.com/catppuccin/catppuccin / get_window

Method get_window

samples/python1.py:293–297  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

291 return self.view
292
293 def get_window(self):
294 if (hasattr(self, 'view') and hasattr(self.view, 'window')):
295 return self.view.window()
296 else:
297 return sublime.active_window()
298
299 def get_working_dir(self):
300 return os.path.dirname(self._active_file_name())

Callers 3

scratchMethod · 0.95
panelMethod · 0.95
show_status_listMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected