Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu

Patch by Todd Rovito.
This commit is contained in:
Andrew Svetlov 2012-11-01 22:41:19 +02:00
parent 5bb420761f
commit d183767ca4
6 changed files with 98 additions and 13 deletions

View file

@ -52,7 +52,11 @@ class OutputWindow(EditorWindow):
# Our own right-button menu
rmenu_specs = [
("Go to file/line", "<<goto-file-line>>"),
("Cut", "<<cut>>", "rmenu_check_cut"),
("Copy", "<<copy>>", "rmenu_check_copy"),
("Paste", "<<paste>>", "rmenu_check_paste"),
(None, None, None),
("Go to file/line", "<<goto-file-line>>", None),
]
file_line_pats = [