summaryrefslogtreecommitdiff
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2006-07-25 20:28:55 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2006-07-25 20:28:55 +0000
commit3075e16c516e3975b61e4356a6d64def9cc5110e (patch)
treeba37721454407b66ed0011ffb5e3855bbcbbd9c3 /Lib/idlelib/EditorWindow.py
parentbfbfe1f8b9b0cebd12570784bdbd2ae5c8d2876d (diff)
downloadcpython-git-3075e16c516e3975b61e4356a6d64def9cc5110e.tar.gz
Fix bug #1517990: IDLE keybindings on OSX
This adds a new key definition for OSX, which is slightly different from the classic mac definition. Also add NEWS item for a couple of bugfixes I added recently.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r--Lib/idlelib/EditorWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index cb166cf1a6..560e5e7d89 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -128,7 +128,7 @@ class EditorWindow(object):
self.top.bind("<<close-window>>", self.close_event)
if macosxSupport.runningAsOSXApp():
# Command-W on editorwindows doesn't work without this.
- text.bind('<<close-window', self.close_event)
+ text.bind('<<close-window>>', self.close_event)
text.bind("<<cut>>", self.cut)
text.bind("<<copy>>", self.copy)
text.bind("<<paste>>", self.paste)