(self, caret)
return hex_rect
returns screenpos as qrect of caret in hex
returns screenpos as qrect of caret in hex
returns screenpos as qrect of caret in hex
def caret_to_hexcol(self, caret):
        """ returns screenpos as qrect of caret in hex
        """
        hex_cx, hex_cy = self.index_to_hexcol(caret.position)
        hex_cx += (caret.nibble * self._char_width) + 1
        hex_cy -= self._base_line
        hex_rect = QRect(hex_cx - 1, hex_cy, 1, self._char_height)
        return hex_rect
def caret_to_hexcol ( self , caret ) : hex_cx , hex_cy = self . index_to_hexcol ( caret . position ) hex_cx += ( caret . nibble * self . _char_width ) + 1 hex_cy -= self . _base_line hex_rect = QRect ( hex_cx - 1 , hex_cy , 1 , self . _char_height ) return hex_rect