Hehouhua / idapython

Automatically exported from code.google.com/p/idapython
Other
0 stars 0 forks source link

set_item_color does not automatically update #65

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When calling set_item_color() the color is not updated properly. Only after 
changing to graph view and back changes it. 

Original issue reported on code.google.com by eschw...@cs.uni-bonn.de on 28 Apr 2011 at 1:45

GoogleCodeExporter commented 8 years ago
Please try calling idaapi.refresh_idaview_anyway() after you finish all screen 
updates from a script

Original comment by elias.ba...@gmail.com on 29 Apr 2011 at 1:38

GoogleCodeExporter commented 8 years ago
Thanks, that does the trick. Wouldn't it be helpful to add this code to 
idc.SetColor()?

Original comment by eschw...@cs.uni-bonn.de on 29 Apr 2011 at 7:33

GoogleCodeExporter commented 8 years ago
No, imagine you have a huge loop where you set item colors. Do you want to call 
refresh after each iteration? Or better wait until the end of the loop and 
refresh just once?

Original comment by elias.ba...@gmail.com on 6 May 2011 at 2:45

GoogleCodeExporter commented 8 years ago

Original comment by elias.ba...@gmail.com on 4 Jul 2011 at 2:36