Example #1
0
    def _onDwellStart(self, position, x, y):
        " Triggered when mouse started to dwell "
        if not self.underMouse():
            return

        marginNumber = self._marginNumber(x)
        if marginNumber == self.TIMESTAMP_MARGIN:
            self.__showTimestampTooltip(position, x, y)
            return

        TextEditor._onDwellStart(self, position, x, y)
        return
Example #2
0
    def _onDwellStart(self, position, x, y):
        " Triggered when mouse started to dwell "
        if not self.underMouse():
            return

        marginNumber = self._marginNumber(x)
        if marginNumber == self.REVISION_MARGIN:
            self.__showRevisionTooltip(position, x, y)
            return

        TextEditor._onDwellStart(self, position, x, y)
        return
    def _onDwellStart( self, position, x, y ):
        " Triggered when mouse started to dwell "
        if not self.underMouse():
            return

        marginNumber = self._marginNumber( x )
        if marginNumber == self.REVISION_MARGIN:
            self.__showRevisionTooltip( position, x, y )
            return

        TextEditor._onDwellStart( self, position, x, y )
        return
    def _onDwellStart( self, position, x, y ):
        " Triggered when mouse started to dwell "
        if not self.underMouse():
            return

        marginNumber = self._marginNumber( x )
        if marginNumber == self.TIMESTAMP_MARGIN:
            self.__showTimestampTooltip( position, x, y )
            return

        TextEditor._onDwellStart( self, position, x, y )
        return