]> granicus.if.org Git - python/commitdiff
Fix bug #1517990: IDLE keybindings on OSX
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 25 Jul 2006 20:28:55 +0000 (20:28 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Tue, 25 Jul 2006 20:28:55 +0000 (20:28 +0000)
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.

Lib/idlelib/EditorWindow.py
Lib/idlelib/config-keys.def
Mac/IDLE/config-main.def
Misc/NEWS

index cb166cf1a68e39e132afa9430875c5cf91438e79..560e5e7d8992383af81661e0e1ba091a142fb835 100644 (file)
@@ -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)
index 06537469ebbfc824e659803f90a80b4dea2eeed7..fb0aaf4dc156b364abb3cd35644a438f02ac329b 100644 (file)
@@ -159,3 +159,56 @@ toggle-tabs=<Control-Key-t>
 change-indentwidth=<Control-Key-u>
 del-word-left=<Control-Key-BackSpace>
 del-word-right=<Control-Key-Delete>
+
+[IDLE Classic OSX]
+toggle-tabs = <Control-Key-t>
+interrupt-execution = <Control-Key-c>
+untabify-region = <Control-Key-6>
+remove-selection = <Key-Escape>
+print-window = <Command-Key-p>
+replace = <Command-Key-r>
+goto-line = <Command-Key-j>
+plain-newline-and-indent = <Control-Key-j>
+history-previous = <Control-Key-p>
+beginning-of-line = <Control-Key-Left>
+end-of-line = <Control-Key-Right>
+comment-region = <Control-Key-3>
+redo = <Shift-Command-Key-Z>
+close-window = <Command-Key-w>
+restart-shell = <Control-Key-F6>
+save-window-as-file = <Command-Key-S>
+close-all-windows = <Command-Key-q>
+view-restart = <Key-F6>
+tabify-region = <Control-Key-5>
+find-again = <Command-Key-g> <Key-F3>
+find = <Command-Key-f>
+toggle-auto-coloring = <Control-Key-slash>
+select-all = <Command-Key-a>
+smart-backspace = <Key-BackSpace>
+change-indentwidth = <Control-Key-u>
+do-nothing = <Control-Key-F12>
+smart-indent = <Key-Tab>
+center-insert = <Control-Key-l>
+history-next = <Control-Key-n>
+del-word-right = <Option-Key-Delete>
+undo = <Command-Key-z>
+save-window = <Command-Key-s>
+uncomment-region = <Control-Key-4>
+cut = <Command-Key-x>
+find-in-files = <Command-Key-F3>
+dedent-region = <Command-Key-bracketleft>
+copy = <Command-Key-c>
+paste = <Command-Key-v>
+indent-region = <Command-Key-bracketright>
+del-word-left = <Option-Key-BackSpace> <Option-Command-Key-BackSpace>
+newline-and-indent = <Key-Return> <Key-KP_Enter>
+end-of-file = <Control-Key-d>
+open-class-browser = <Command-Key-b>
+open-new-window = <Command-Key-n>
+open-module = <Command-Key-m>
+find-selection = <Shift-Command-Key-F3>
+python-context-help = <Shift-Key-F1>
+save-copy-of-window-as-file = <Shift-Command-Key-s>
+open-window-from-file = <Command-Key-o>
+python-docs = <Key-F1>
+
index 1cdc0c541dd0b7538f1afbd045cd28d773a79a77..4691a8529092d3422717e5274f15a341763dd1b5 100644 (file)
@@ -71,7 +71,7 @@ name= IDLE Classic
 
 [Keys]
 default= 1
-name= IDLE Classic Mac
+name= IDLE Classic OSX
 
 [History]
 cyclic=1
index 19e5c8f956b5430c8966c2a3c716c248e6903f60..f0f02766a82d7a78d7ce210cd0b95d24c17713c9 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -36,6 +36,9 @@ Core and builtins
   new ``sys._current_frames()`` returns a dictionary with one entry,
   mapping the faux "thread id" 0 to the current frame.
 
+- Bug #1525447: build on MacOS X on a case-sensitive filesystem.
+  
+
 Library
 -------
 
@@ -68,6 +71,12 @@ Library
   Also, whereas % values were decoded in all parameter continuations, they are
   now only decoded in encoded parameter parts.
 
+- Bug #1517990: IDLE keybindings on MacOS X now work correctly
+
+- Bug #1517996: IDLE now longer shows the default Tk menu when a
+  path browser, class browser or debugger is the frontmost window on MacOS X
+
+
 Extension Modules
 -----------------