B
g[# @ s" d Z ddlmZ ddlmZ dddddd d
ddd
d
dd
ddgfdddd
ddddd
ddddddddd d!gfd"d#d$d%d&d'd(d)d*d+d,g
fd-d.d/d0d1gfd2d3d4d
d5d6d
d7gfd8d9d:d;dd
d?d@dAgfdBg fdCdDd
dEdFgfg ZedGredH dI dJ e Ze dKkrddLl
mZ edMdNdO d
S )Pa 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)idleConffile)z _New Filez<>)z_Open...z<>)zOpen _Module...z<>)zModule _Browserz<>)z
_Path Browserz<>N)Z_Savez<>)zSave _As...z<>)zSave Cop_y As...z<>)z
Prin_t Windowz<>)Z_Closez<>)ZE_xitz<>Zedit)Z_Undoz<>)Z_Redoz<>)ZCu_tz<>)Z_Copyz<>)Z_Pastez <>)zSelect _Allz<>)z_Find...z<>)zFind A_gainz<>)zFind _Selectionz<>)zFind in Files...z<>)zR_eplace...z<>)zGo to _Linez
<>)zS_how Completionsz<>)zE_xpand Wordz<>)zShow C_all Tipz<>)zShow Surrounding P_arensz<>format)zF_ormat Paragraphz<>)z_Indent Regionz<>)z_Dedent Regionz<>)zComment _Out Regionz<>)zU_ncomment Regionz<>)z
Tabify Regionz<>)zUntabify Regionz<>)zToggle Tabsz<>)zNew Indent Widthz<>)zS_trip Trailing Whitespacez
<>run)zR_un Modulez<>)zRun... _Customizedz<>)z
C_heck Modulez<>)zPython Shellz<>shell)z_View Last Restartz<>)z_Restart Shellz<>)z_Previous Historyz<>)z
_Next Historyz<>)z_Interrupt Executionz<>debug)z_Go to File/Linez<>)z
!_Debuggerz<>)z
_Stack Viewerz<>)z!_Auto-open Stack Viewerz<>Zoptions)zConfigure _IDLEz<>)zShow _Code Contextz<>)zShow _Line Numbersz<>)z_Zoom Heightz<>Zwindowhelp)z_About IDLEz<>)z
_IDLE Helpz<>)zPython _Docsz<>Z
turtledemo )zTurtle Demoz<>__main__)mainzidlelib.idle_test.test_mainmenu ) verbosity)__doc__importlib.utilr Zidlelib.configr ZmenudefsappendZGetCurrentKeySetZdefault_keydefs__name__Zunittestr
r r 5/opt/alt/python37/lib64/python3.7/idlelib/mainmenu.py
s