kiwilime.py 文件源码

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

项目:kiwi 作者: alpha1e0 项目源码 文件源码
def _get_match_info(self, current_region, match_word):
        '''
        ????????
        '''
        index = 0
        all_match_regions = self.view.find_all(match_word, sublime.LITERAL)

        for region in all_match_regions:
            if region == current_region:
                break
            index += 1

        if index >= len(all_match_regions):
            index = len(all_match_regions)

        return all_match_regions, index
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号