NoDialogs.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:NoDialogs 作者: maximsmol 项目源码 文件源码
def run(self):
        self.window = sublime.active_window()

        for view in self.window.views():
            self.view = view

            if not self.will_closing_discard(view):
                continue

            self.last_focused_view = self.window.active_view()
            self.window.focus_view(view)

            self.show_discard_prompt()
            return # wait for input, then start over

        self.window.run_command('close_window')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号