summaryrefslogtreecommitdiff
path: root/Lib/idlelib/scrolledlist.py
diff options
context:
space:
mode:
authorterryjreedy <tjreedy@udel.edu>2017-06-27 01:53:40 -0400
committerGitHub <noreply@github.com>2017-06-27 01:53:40 -0400
commit8bdc3bd3d66fefdc07d32bd19c41c6f902f16111 (patch)
tree6a331311db06da59a5f9f71d6d0722eb8b8f4084 /Lib/idlelib/scrolledlist.py
parent2d348f7a723db839aa18ce8213b8663ccb0a3d35 (diff)
downloadcpython-git-8bdc3bd3d66fefdc07d32bd19c41c6f902f16111.tar.gz
[3.6] bpo-29910: IDLE no longer deletes a character after commenting out a region (GH-825) (#2429)
This happened because shortcut has a class binding and 'break' was not returned. Fix other potential conflicts between IDLE and default key bindings. * Add news item * Update NEWS (cherry picked from commit 213ce12)
Diffstat (limited to 'Lib/idlelib/scrolledlist.py')
-rw-r--r--Lib/idlelib/scrolledlist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/scrolledlist.py b/Lib/idlelib/scrolledlist.py
index cc08c26e5e..cdf658404a 100644
--- a/Lib/idlelib/scrolledlist.py
+++ b/Lib/idlelib/scrolledlist.py
@@ -76,6 +76,7 @@ class ScrolledList:
index = self.listbox.index("active")
self.select(index)
menu.tk_popup(event.x_root, event.y_root)
+ return "break"
def make_menu(self):
menu = Menu(self.listbox, tearoff=0)