aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/scrolledlist.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-06-27 07:02:32 +0300
committerterryjreedy <tjreedy@udel.edu>2017-06-27 00:02:32 -0400
commit213ce12adfc9281c6f381bb45d132e9de8ffd450 (patch)
treedb01c6fdab2e3a9c986d5b49c5294d309ae11f56 /Lib/idlelib/scrolledlist.py
parent9a02ae3d3d645f0c8178f3362694f473bab6fe3e (diff)
downloadcpython-213ce12adfc9281c6f381bb45d132e9de8ffd450.tar.gz
cpython-213ce12adfc9281c6f381bb45d132e9de8ffd450.zip
bpo-29910: IDLE no longer deletes a character after commenting out a region (#825)
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
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 cc08c26e5ee..cdf658404ab 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)