3 ^w@sdZddlmZddlmZdddddddddddddddgfdddddddddddddddddddgfd=ddddddddddg fdRdddgfdYddddgfd`ddddgfdiddgfdndgfdqddddgfg ZedxreddyjdejZe d|krdd}l m Z e d~dddS)aDefine 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)idleConffile _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<>ZoptionsConfigure _IDLE<> _Code Context<>Zwindow Zoom Height<>help _About IDLE<> _IDLE Help<> Python _Docs<>Z turtledemo Turtle Demo<>__main__)mainzidlelib.idle_test.test_mainmenu) verbosity)rr)rr)r r )r r )r r)rr)rr)rr)rr)rr)rr)rr)rr)rr )r!r")r#r$)r%r&)r'r()r)r*)r+r,)r-r.)r/r0)r1r2)r3r4)r5r6)r7r8)r9r:)r<r=)r>r?)r@rA)rBrC)rDrE)rFrG)rHrI)rJrK)rLrM)rNrO)rPrQ)rRrS)rTrU)rWrX)rYrZ)r[r\)r^r_)r`ra)rbrc)rdre)rfrg)rhri)rjrk)rmrn)rorp)rqrr)rtru) __doc__importlib.utilrZidlelib.configrZmenudefsappendZGetCurrentKeySetZdefault_keydefs__name__Zunittestrwrr(/usr/lib64/python3.6/idlelib/mainmenu.py s