eclipse.py 文件源码

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

项目:eclipse-nvda 作者: albzan 项目源码 文件源码
def event_caret(self) :
        super(Edit, self).event_caret()
        if self is api.getFocusObject() and not eventHandler.isPendingEvents('gainFocus'):
            self.detectPossibleSelectionChange()
        tx = self.makeTextInfo(textInfos.POSITION_SELECTION)
        tx.collapse()
        tx.expand(textInfos.UNIT_LINE)
        if self.oldpos == tx._startOffset :
            return
        self.processLine(tx)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号