summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/configHandler.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2005-01-28 00:16:16 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2005-01-28 00:16:16 (GMT)
commit3069dbb8ec9c287c2ff6b3a1c8bfde83af81c11b (patch)
tree1c6112c21441dfd0c82ccdd3ab604ceff64c15ac /Lib/idlelib/configHandler.py
parent90cece7f8930cbfe5b87a61a1a67cfd670639c63 (diff)
downloadcpython-3069dbb8ec9c287c2ff6b3a1c8bfde83af81c11b.zip
cpython-3069dbb8ec9c287c2ff6b3a1c8bfde83af81c11b.tar.gz
cpython-3069dbb8ec9c287c2ff6b3a1c8bfde83af81c11b.tar.bz2
Add keybindings for del-word-left and del-word-right.
M EditorWindow.py M NEWS.txt M config-keys.def M configHandler.py
Diffstat (limited to 'Lib/idlelib/configHandler.py')
-rw-r--r--Lib/idlelib/configHandler.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py
index ea913c7..191a87c 100644
--- a/Lib/idlelib/configHandler.py
+++ b/Lib/idlelib/configHandler.py
@@ -579,7 +579,9 @@ class IdleConf:
'<<tabify-region>>': ['<Alt-Key-5>'],
'<<untabify-region>>': ['<Alt-Key-6>'],
'<<toggle-tabs>>': ['<Alt-Key-t>'],
- '<<change-indentwidth>>': ['<Alt-Key-u>']
+ '<<change-indentwidth>>': ['<Alt-Key-u>'],
+ '<<del-word-left>>': ['<Control-Key-BackSpace>'],
+ '<<del-word-right>>': ['<Control-Key-Delete>']
}
if keySetName:
for event in keyBindings.keys():