From 4b7e35b530d06780ff905df2669ebdf892d6f75f Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Tue, 18 Jul 2006 04:03:16 +0000 Subject: Rebinding Tab key was inserting 'tab' instead of 'Tab'. Bug 1179168. --- Lib/idlelib/NEWS.txt | 11 +++++++++++ Lib/idlelib/keybindingDialog.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index 034dded..fb77e13 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -1,3 +1,14 @@ +What's New in IDLE 1.2c1? +========================= + +*Release date: XX-XXX-2006* + +- Rebinding Tab key was inserting 'tab' instead of 'Tab'. Bug 1179168. + +- Colorizer now handles # correctly, also unicode strings and + 'as' keyword in comment directly following import command. Closes 1325071. + Patch 1479219 Tal Einat + What's New in IDLE 1.2b2? ========================= diff --git a/Lib/idlelib/keybindingDialog.py b/Lib/idlelib/keybindingDialog.py index 26d6ad1..aff9cac 100644 --- a/Lib/idlelib/keybindingDialog.py +++ b/Lib/idlelib/keybindingDialog.py @@ -202,7 +202,7 @@ class GetKeysDialog(Toplevel): ':':'colon',',':'comma','.':'period','<':'less','>':'greater', '/':'slash','?':'question','Page Up':'Prior','Page Down':'Next', 'Left Arrow':'Left','Right Arrow':'Right','Up Arrow':'Up', - 'Down Arrow': 'Down', 'Tab':'tab'} + 'Down Arrow': 'Down', 'Tab':'Tab'} if key in translateDict.keys(): key = translateDict[key] if 'Shift' in modifiers and key in string.ascii_lowercase: -- cgit v0.12