def _search_existing_view(self):
"""
returns True if a view with the name of
this ArcticTypescript view is open and sets it as reference
"""
for w in sublime.windows():
for v in w.views():
if v.name() == self.name:
self._view_reference = v
self.on_overtook_existing_view()
return self._is_view_still_open()
return False
评论列表
文章目录