jchristman / PyDA

Python binary DisAssembler
http://suntzuii.github.io/PyDA/
Other
26 stars 10 forks source link

Commenting on right click #41

Closed jchristman closed 10 years ago

jchristman commented 10 years ago

Right now, right click commenting inserts the comment at the spot the cursor is at, which doesn't move when you right click. Therefore, comment is at the wrong spot that you would expect with a right click. Instead of using the cursor in this case, we should get the tag_range of the individual line (which is already being done in contextmanager) and edit that line for a right click comment.

wiseone13 commented 10 years ago

Can't you just override a right click, figure out where the cursor should be from x-y coords, and then move the cursor before you open up the right-click context menu?

direwolf314 commented 10 years ago

Mhm, that's the plan. Should be fixed shortly.

direwolf314 commented 10 years ago

Done.