summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/zoomheight.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-06-27 04:02:32 (GMT)
committerterryjreedy <tjreedy@udel.edu>2017-06-27 04:02:32 (GMT)
commit213ce12adfc9281c6f381bb45d132e9de8ffd450 (patch)
treedb01c6fdab2e3a9c986d5b49c5294d309ae11f56 /Lib/idlelib/zoomheight.py
parent9a02ae3d3d645f0c8178f3362694f473bab6fe3e (diff)
downloadcpython-213ce12adfc9281c6f381bb45d132e9de8ffd450.zip
cpython-213ce12adfc9281c6f381bb45d132e9de8ffd450.tar.gz
cpython-213ce12adfc9281c6f381bb45d132e9de8ffd450.tar.bz2
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/zoomheight.py')
-rw-r--r--Lib/idlelib/zoomheight.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/zoomheight.py b/Lib/idlelib/zoomheight.py
index aa4a427..d01c9e9 100644
--- a/Lib/idlelib/zoomheight.py
+++ b/Lib/idlelib/zoomheight.py
@@ -20,6 +20,7 @@ class ZoomHeight:
def zoom_height_event(self, event):
top = self.editwin.top
zoom_height(top)
+ return "break"
def zoom_height(top):