mirror of
https://github.com/python/cpython.git
synced 2025-09-15 21:26:04 +00:00
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.
This commit is contained in:
parent
bfbfe1f8b9
commit
3075e16c51
4 changed files with 64 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue