def get_any_view_with_root(root):
return
from .system.Liste import get_root
v = sublime.active_window().active_view()
if is_ts(v) and not is_dts(v) and get_root(v.file_name()) == root:
return v
for w in sublime.windows():
for v in w.views():
if is_ts(v) and not is_dts(v) and get_root(v.file_name()) == root:
return v
评论列表
文章目录