def PreIdx(self): # ,
DEBUG_PRINT('IN PreIdx')
ea = idc.ScreenEA()
# print 'Cursor is at 0x%x'%(ea)
if ea not in self._dbDict.keys():
print '\n0x%x has no comments'%(ea)
return
if ea != self._choose_ea:
self._choose_ea = ea
self._choose_idx = self.GetIDX(ea)
if self._choose_idx == -1:
print 'no comment'
return
self._choose_id = self.GetID(ea,self._choose_idx)
if self._choose_id == 0:
print 'Already FIRST Index'
return
self._choose_id -= 1
id = self._choose_id;
if id >= 0:
self.ForwardView(ea, id,innermode = 1)
评论列表
文章目录