From: Kurt B. Kaiser Date: Tue, 18 Jul 2006 04:03:16 +0000 (+0000) Subject: Rebinding Tab key was inserting 'tab' instead of 'Tab'. Bug 1179168. X-Git-Tag: v2.5b3~224 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b7e35b530d06780ff905df2669ebdf892d6f75f;p=python Rebinding Tab key was inserting 'tab' instead of 'Tab'. Bug 1179168. --- diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index 034ddedfce..fb77e13a4d 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 26d6ad10eb..aff9cac587 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: