diff options
author | Guido van Rossum <guido@python.org> | 1999-06-01 20:06:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-06-01 20:06:44 (GMT) |
commit | a954ba1d6c9e38c9b4db183899f3d1562edb1b01 (patch) | |
tree | c40064a65b9cf5d98b335b2ce617436fd6efc903 /Tools/idle/AutoIndent.py | |
parent | bbaba8540200dae111961f799f690b2a0e95dfd9 (diff) | |
download | cpython-a954ba1d6c9e38c9b4db183899f3d1562edb1b01.zip cpython-a954ba1d6c9e38c9b4db183899f3d1562edb1b01.tar.gz cpython-a954ba1d6c9e38c9b4db183899f3d1562edb1b01.tar.bz2 |
Hah! A fix of my own to Tim's code!
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).
Diffstat (limited to 'Tools/idle/AutoIndent.py')
-rw-r--r-- | Tools/idle/AutoIndent.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/idle/AutoIndent.py b/Tools/idle/AutoIndent.py index 2913cc1..067df3b 100644 --- a/Tools/idle/AutoIndent.py +++ b/Tools/idle/AutoIndent.py @@ -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 |