(self, caret)
return (hex_char, cur_byte)
returns hex,byte at current caretpos
returns hex,byte at current caretpos
returns hex byte at current caretpos
def data_at_caret(self, caret):
        """ returns hex,byte at current caretpos
        """
        cur_byte = self.data[caret.position]
        hexcode = "{:02x}".format(cur_byte)
        hex_char = hexcode[caret.nibble]
        return (hex_char, cur_byte)
def data_at_caret ( self , caret ) : cur_byte = self . data [ caret . position ] hexcode = "{:02x}" . format ( cur_byte ) hex_char = hexcode [ caret . nibble ] return ( hex_char , cur_byte )