summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/AutoIndent.py
diff options
context:
space:
mode:
authorSteven M. Gava <elguavas@python.net>2002-01-19 10:41:51 (GMT)
committerSteven M. Gava <elguavas@python.net>2002-01-19 10:41:51 (GMT)
commit72c3bf076f785aaf54d63a7e8cae29bc8282920e (patch)
tree25a7d261d1cd962735f40dc038fd51ce5b1edf99 /Lib/idlelib/AutoIndent.py
parentc628a06c709dcf0d96ad55a475a5a1318d06dba4 (diff)
downloadcpython-72c3bf076f785aaf54d63a7e8cae29bc8282920e.zip
cpython-72c3bf076f785aaf54d63a7e8cae29bc8282920e.tar.gz
cpython-72c3bf076f785aaf54d63a7e8cae29bc8282920e.tar.bz2
changeover to new keybinding configuration implementation
Diffstat (limited to 'Lib/idlelib/AutoIndent.py')
-rw-r--r--Lib/idlelib/AutoIndent.py34
1 files changed, 0 insertions, 34 deletions
diff --git a/Lib/idlelib/AutoIndent.py b/Lib/idlelib/AutoIndent.py
index 6d38481..eff398b 100644
--- a/Lib/idlelib/AutoIndent.py
+++ b/Lib/idlelib/AutoIndent.py
@@ -41,7 +41,6 @@ class AutoIndent:
menudefs = [
('format', [ # /s/edit/format dscherer@cmu.edu
- None,
('_Indent region', '<<indent-region>>'),
('_Dedent region', '<<dedent-region>>'),
('Comment _out region', '<<comment-region>>'),
@@ -53,39 +52,6 @@ class AutoIndent:
]),
]
- keydefs = {
- '<<smart-backspace>>': ['<Key-BackSpace>'],
- '<<newline-and-indent>>': ['<Key-Return>', '<KP_Enter>'],
- '<<smart-indent>>': ['<Key-Tab>']
- }
-
- windows_keydefs = {
- '<<indent-region>>': ['<Control-bracketright>'],
- '<<dedent-region>>': ['<Shift-Tab>', # dscherer@cmu.edu
- '<Control-bracketleft>'],
- '<<comment-region>>': ['<Alt-Key-3>'],
- '<<uncomment-region>>': ['<Alt-Key-4>'],
- '<<tabify-region>>': ['<Alt-Key-5>'],
- '<<untabify-region>>': ['<Alt-Key-6>'],
- '<<toggle-tabs>>': ['<Alt-Key-t>'],
- '<<change-indentwidth>>': ['<Alt-Key-u>'],
- }
-
- unix_keydefs = {
- '<<indent-region>>': ['<Alt-bracketright>',
- '<Meta-bracketright>',
- '<Control-bracketright>'],
- '<<dedent-region>>': ['<Alt-bracketleft>',
- '<Meta-bracketleft>',
- '<Control-bracketleft>'],
- '<<comment-region>>': ['<Alt-Key-3>', '<Meta-Key-3>'],
- '<<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
# dedent cmds, possibly mixed with spaces if
# indentwidth is not a multiple of tabwidth