popup_error_vis.py 文件源码

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

项目:EasyClangComplete 作者: niosus 项目源码 文件源码
def show_errors(self, view):
        """Show current error regions.

        Args:
            view (sublime.View): Current view
        """
        if view.buffer_id() not in self.err_regions:
            # view has no errors for it
            return
        current_error_dict = self.err_regions[view.buffer_id()]
        regions = PopupErrorVis._as_region_list(current_error_dict)
        log.debug("showing error regions: %s", regions)
        view.add_regions(
            PopupErrorVis._TAG,
            regions,
            PopupErrorVis._ERROR_SCOPE,
            self.gutter_mark,
            PopupErrorVis._ERROR_FLAGS)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号