]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Hah! A fix of my own to Tim's code!
authorGuido van Rossum <guido@python.org>
Tue, 1 Jun 1999 20:06:44 +0000 (20:06 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 1 Jun 1999 20:06:44 +0000 (20:06 +0000)
Unix bindings for <<toggle-tabs>> and <<change-indentwidth>> were
missing, and somehow that meant the events were never generated,
even though they were in the menu.  The new Unix bindings are now
the same as the Windows bindings (M-t and M-u).

Tools/idle/AutoIndent.py

index 2913cc1e37f233060fceb9670a6efbd1d1119a6f..067df3b15293271d7e73b2c73ab8a5d2274418d6 100644 (file)
@@ -84,6 +84,8 @@ class AutoIndent:
         '<<uncomment-region>>': ['<Alt-Key-4>', '<Meta-Key-4>'],
         '<<tabify-region>>': ['<Alt-Key-5>', '<Meta-Key-5>'],
         '<<untabify-region>>': ['<Alt-Key-6>', '<Meta-Key-6>'],
+        '<<toggle-tabs>>': ['<Alt-Key-t>'],
+        '<<change-indentwidth>>': ['<Alt-Key-u>'],
     }
 
     # usetabs true  -> literal tab characters are used by indent and