3
§ fw ã @ s d Z ddlmZ ddlmZ dd�d‚dƒd„d…dd†d‡dˆdd‰ddŠd‹gfddŒd�ddŽd�d�d‘dd’d“d”d•d–d—d˜d™dšd›gfd=dœd�dždŸd d¡d¢d£d¤d¥g
fdRd¦d§d¨gfdYd©dªdd«gfd`d¬dd®d¯gfdid°d±gfdnd²gfdqd³dd´dµgfg Zedxƒ� rêed¶ dy jd·ƒ ejƒ Ze d|k�rdd}l
mZ ed~dd€� dS )¸aà Define the menu contents, hotkeys, and event bindings.
There is additional configuration information in the EditorWindow class (and
subclasses): the menus are created there based on the menu_specs (class)
variable, and menus not created are silently skipped in the code here. This
makes it possible, for example, to define a Debug menu which is only present in
the PythonShell window, and a Format menu which is only present in the Editor
windows.
é )Ú find_spec)ÚidleConfÚfileú _New Fileú<>ú_Open...ú<>úOpen _Module...ú<>úModule _Browserú<>ú
_Path Browserú<>NÚ_Saveú<>úSave _As...ú<>úSave Cop_y As...ú<>ú
Prin_t Windowú<>Ú_Closeú<>ÚE_xitú<>ZeditÚ_Undoú<>Ú_Redoú<>ÚCu_tú<>Ú_Copyú<>Ú_Pasteú <>úSelect _Allú<>ú_Find...ú<>úFind A_gainú<>úFind _Selectionú<>úFind in Files...ú<>úR_eplace...ú<>úGo to _Lineú
<>úS_how Completionsú<>úE_xpand Wordú<>úShow C_all Tipú<>úShow Surrounding P_arensú<>Úformatú_Indent Regionú<>ú_Dedent Regionú<>úComment _Out Regionú<>úU_ncomment Regionú<>ú
Tabify Regionú<>úUntabify Regionú<>úToggle Tabsú<>úNew Indent Widthú<>úF_ormat Paragraphú<>úS_trip Trailing Whitespaceú
<>ZrunúPython Shellú<>ú
C_heck Moduleú<>úR_un Moduleú<>Úshellú_View Last Restartú<>ú_Restart Shellú<>ú_Interrupt Executionú<>Údebugú_Go to File/Lineú<>ú
!_Debuggerú<>ú
_Stack Viewerú<>ú!_Auto-open Stack Viewerú<>ZoptionsúConfigure _IDLEú<>ú
_Code Contextú<>ZwindowúZoom Heightú<>Úhelpú_About IDLEú<>ú
_IDLE Helpú<>úPython _Docsú<>Z
turtledemoé úTurtle Demoú<>Ú__main__)Úmainzidlelib.idle_test.test_mainmenué )Ú verbosity)r r )r r )r r
)r r )r
r )r r )r r )r r )r r )r r )r r )r r )r r )r r )r! r" )r# r$ )r% r&