summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-09-14 03:17:01 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2002-09-14 03:17:01 (GMT)
commita9f8cbc3bd4f88ea6b835c606d065ac305300123 (patch)
tree4e87cc84c54c592f21bb9077a03609f97143b650 /Lib
parentc7273a3832c84993a0eadfea46f3d1392f271340 (diff)
downloadcpython-a9f8cbc3bd4f88ea6b835c606d065ac305300123.zip
cpython-a9f8cbc3bd4f88ea6b835c606d065ac305300123.tar.gz
cpython-a9f8cbc3bd4f88ea6b835c606d065ac305300123.tar.bz2
MERGE DS_RPC_BRANCH into MAIN
configHandler.py AutoIndent merged 21Jul
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/configHandler.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py
index 1afd19e..2dd46e2 100644
--- a/Lib/idlelib/configHandler.py
+++ b/Lib/idlelib/configHandler.py
@@ -521,7 +521,19 @@ class IdleConf:
'<<find-selection>>': ['<Control-F3>'],
'<<find>>': ['<Control-f>'],
'<<replace>>': ['<Control-h>'],
- '<<goto-line>>': ['<Alt-g>'] }
+ '<<goto-line>>': ['<Alt-g>'],
+ '<<smart-backspace>>': ['<Key-BackSpace>'],
+ '<<newline-and-indent>>': ['<Key-Return> <Key-KP_Enter>'],
+ '<<smart-indent>>': ['<Key-Tab>'],
+ '<<indent-region>>': ['<Control-Key-bracketright>'],
+ '<<dedent-region>>': ['<Control-Key-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>']
+ }
if keySetName:
for event in keyBindings.keys():
binding=self.GetKeyBinding(keySetName,event)