Пример #1
0
 def __init__(self, parent, task, **kwargs):
     """Create the HexEdit viewer
     """
     table = DisassemblyTable()
     ByteGrid.__init__(self, parent, task, table, **kwargs)
     
     # During idle-time disassembly, an index may not yet be visible.  The
     # value is saved here so the view can be scrolled there once it does
     # get disassembled.
     self.pending_index = -1
Пример #2
0
 def get_status_message_at_index(self, index, row, col):
     msg = ByteGrid.get_status_message_at_index(self, index, row, col)
     comments = self.table.get_comments(index)
     return "%s  %s" % (msg, comments)