summaryrefslogtreecommitdiff
path: root/Lib/idlelib/OutputWindow.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-11-01 22:44:06 +0200
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-11-01 22:44:06 +0200
commite2af5098295c97aae8802d8dc7c332bd75e6ab89 (patch)
treec6d5e954f7e6df92facd3902325ea9109dacb11a /Lib/idlelib/OutputWindow.py
parent129f57bc51c129babdb96e12ef1f0e0bc47aa582 (diff)
parentd183767ca4786c00d84e284ad6c89fa3c154bad2 (diff)
downloadcpython-git-e2af5098295c97aae8802d8dc7c332bd75e6ab89.tar.gz
Merge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
Diffstat (limited to 'Lib/idlelib/OutputWindow.py')
-rw-r--r--Lib/idlelib/OutputWindow.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/idlelib/OutputWindow.py b/Lib/idlelib/OutputWindow.py
index cba9013997..745ccd2613 100644
--- a/Lib/idlelib/OutputWindow.py
+++ b/Lib/idlelib/OutputWindow.py
@@ -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 = [