Ticket #321 (closed enhancement: fixed)
API for adding entries to right click menu
| Reported by: | pmakholm | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Debugger for Perl 5 | Version: | 0.35 |
| Keywords: | Cc: |
Description
It would be nice if plugins were able to add entries to the editors right click menu, which only seems to be possible for Document-subclases.
For Padre::Plugin::Debugger I would like to add entries like 'Add breakpoint' and 'run to here'.
Change History
Note: See
TracTickets for help on using
tickets.

Implemented in Padre SVN trunk. Thanks for the ticket!
For an example on how to hook into things, check the event_on_right_click method of Padre::Document::Perl.
Eventually, I'd like to have left clicks hookable, too, but since those are much more common, that will take some consideration.