summaryrefslogtreecommitdiffstats
path: root/Tools/idle/EditorWindow.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-16 20:08:34 (GMT)
committerGuido van Rossum <guido@python.org>1998-10-16 20:08:34 (GMT)
commitbaf53b4ea820e5cb0787c2fd04de0c2b55d3de80 (patch)
tree14285876ba3ad1073d52d1c1e170b1af7f5094fd /Tools/idle/EditorWindow.py
parent5188a25efe3b62dd863dac12ff6fcbeb416f5740 (diff)
downloadcpython-baf53b4ea820e5cb0787c2fd04de0c2b55d3de80.zip
cpython-baf53b4ea820e5cb0787c2fd04de0c2b55d3de80.tar.gz
cpython-baf53b4ea820e5cb0787c2fd04de0c2b55d3de80.tar.bz2
Get rid of conflicting ^X binding. Use ^W.
Diffstat (limited to 'Tools/idle/EditorWindow.py')
-rw-r--r--Tools/idle/EditorWindow.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/idle/EditorWindow.py b/Tools/idle/EditorWindow.py
index 1b9db06..fc8a8f1 100644
--- a/Tools/idle/EditorWindow.py
+++ b/Tools/idle/EditorWindow.py
@@ -45,6 +45,7 @@ class EditorWindow:
self.text.bind("<<help>>", self.help_dialog)
self.text.bind("<<about-idle>>", self.about_dialog)
self.text.bind("<<open-module>>", self.open_module)
+ self.text.bind("<<do-nothing>>", lambda event: "break")
vbar['command'] = text.yview
vbar.pack(side=RIGHT, fill=Y)