[@sKddlZddlZddlmZGdddZddZdS)N) macosxSupportc@s:eZdZdd gfgZddZddZdS) ZoomHeightZwindows _Zoom Height<>cCs ||_dS)N)editwin)selfrr(/usr/lib/python3.4/idlelib/ZoomHeight.py__init__szZoomHeight.__init__cCs|jj}t|dS)N)rtop zoom_height)rZeventr rrr zoom_height_events zZoomHeight.zoom_height_eventN)rr)__name__ __module__ __qualname__Zmenudefsr r rrrr rs  rc Cs|j}tjd|}|s2|jdStt|j\}}}}|j}tj dkrd}|d}n3t j rd}||d}nd}|d}||krd} nd||||f} |j| dS) Nz(\d+)x(\d+)\+(-?\d+)\+(-?\d+)Zwin32rHXz %dx%d+%d+%d) Z wm_geometryrematchZbellmapintgroupsZwinfo_screenheightsysplatformrZisAquaTk) r ZgeommwidthZheightxyZ newheightZnewyZnewgeomrrr r s&  !      r )rrZidlelibrrr rrrr s