jesparza / peepdf

Powerful Python tool to analyze PDF documents
http://peepdf.eternal-todo.com
GNU General Public License v3.0
1.3k stars 240 forks source link

Improve tree view #80

Closed Tholep closed 6 years ago

Tholep commented 6 years ago

during analysis, the tree view is useful to see relationship between elements/objects. However, the current "tree" command doesn't highlight monitored elements/actions/events in the output which analysts are mostly interested in. Hence, I made some changes to colorlize interesting elements/actions/events: (1) Add warning color to monitorized elements/actions/events in the tree view; (2) remove unnecessary spaces in monitorizedEvents,monitorizedActions and monitorizedElements