[Python-checkins] r50833 - in python/trunk: Lib/idlelib/EditorWindow.py Lib/idlelib/config-keys.def Mac/IDLE/config-main.def Misc/NEWS
ronald.oussoren
python-checkins at python.org
Tue Jul 25 22:28:56 CEST 2006
Author: ronald.oussoren
Date: Tue Jul 25 22:28:55 2006
New Revision: 50833
Modified:
python/trunk/Lib/idlelib/EditorWindow.py
python/trunk/Lib/idlelib/config-keys.def
python/trunk/Mac/IDLE/config-main.def
python/trunk/Misc/NEWS
Log:
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.
Modified: python/trunk/Lib/idlelib/EditorWindow.py
==============================================================================
--- python/trunk/Lib/idlelib/EditorWindow.py (original)
+++ python/trunk/Lib/idlelib/EditorWindow.py Tue Jul 25 22:28:55 2006
@@ -128,7 +128,7 @@
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)
Modified: python/trunk/Lib/idlelib/config-keys.def
==============================================================================
--- python/trunk/Lib/idlelib/config-keys.def (original)
+++ python/trunk/Lib/idlelib/config-keys.def Tue Jul 25 22:28:55 2006
@@ -159,3 +159,56 @@
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>
+
Modified: python/trunk/Mac/IDLE/config-main.def
==============================================================================
--- python/trunk/Mac/IDLE/config-main.def (original)
+++ python/trunk/Mac/IDLE/config-main.def Tue Jul 25 22:28:55 2006
@@ -71,7 +71,7 @@
[Keys]
default= 1
-name= IDLE Classic Mac
+name= IDLE Classic OSX
[History]
cyclic=1
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Tue Jul 25 22:28:55 2006
@@ -36,6 +36,9 @@
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 @@
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
-----------------
More information about the Python-checkins
mailing list