NoDialogs.py 文件源码

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

项目:NoDialogs 作者: maximsmol 项目源码 文件源码
def run(self):
        for win in sublime.windows():
            self.window = win
            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

        sublime.run_command('exit')


#
# Rest of the commands
#
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号