(self)
caret blinking
caret blinking
caret blinking
def update_caret(self):
        """ caret blinking
        """
        if self.data is None:
            return

        if not self.isVisible():
            return

        if not self.hasFocus():
            return

        self._blink = not self._blink
        self.viewport().update(self.caret_to_hexcol(self.caret))
def update_caret ( self ) : if self . data is None : return if not self . isVisible ( ) : return if not self . hasFocus ( ) : return self . _blink = not self . _blink self . viewport ( ) . update ( self . caret_to_hexcol ( self . caret ) )