diff options
Diffstat (limited to 'Lib/idlelib/zoomheight.py')
-rw-r--r-- | Lib/idlelib/zoomheight.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/zoomheight.py b/Lib/idlelib/zoomheight.py index 0016e9d..aa4a427 100644 --- a/Lib/idlelib/zoomheight.py +++ b/Lib/idlelib/zoomheight.py @@ -5,6 +5,7 @@ import sys from idlelib import macosx + class ZoomHeight: menudefs = [ @@ -20,6 +21,7 @@ class ZoomHeight: top = self.editwin.top zoom_height(top) + def zoom_height(top): geom = top.wm_geometry() m = re.match(r"(\d+)x(\d+)\+(-?\d+)\+(-?\d+)", geom) |