def _priority_paint(self):
"""
Immediately repaint regions of the database visible to the user.
"""
cursor_address = idaapi.get_screen_ea() # TODO: threadsafe?
# paint functions around the cursor address
painted = self._priority_paint_functions(cursor_address)
# the operation has been interrupted by a repaint request
if self._repaint_requested:
return False
# paint instructions around the cursor address
self._priority_paint_instructions(cursor_address, ignore=painted)
# the operation has been interrupted by a repaint request
if self._repaint_requested:
return False
# succesful completion
return True
评论列表
文章目录