B
    ^ cN                 @   s"  d Z ddlmZ ddlmZ dddddd	d
dddd
dd
ddgfdddd
ddddd
ddddddddd d!gfd"d#d$d%d&d'd(d)d*d+d,g
fd-d.d/d0d1gfd2d3d4d
d5d6d
d7gfd8d9d:d;d<gfd=d>d
d?d@dAgfdBg fdCdDd
dEdFgfg	ZedGredH dI dJ e Ze	dKkrddLl
mZ edMdNdO 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)idleConffile)z	_New Filez<<open-new-window>>)z_Open...z<<open-window-from-file>>)zOpen _Module...z<<open-module>>)zModule _Browserz<<open-class-browser>>)z_Path Browserz<<open-path-browser>>N)Z_Savez<<save-window>>)zSave _As...z<<save-window-as-file>>)zSave Cop_y As...z<<save-copy-of-window-as-file>>)zPrin_t Windowz<<print-window>>)Z_Closez<<close-window>>)ZE_xitz<<close-all-windows>>Zedit)Z_Undoz<<undo>>)Z_Redoz<<redo>>)ZCu_tz<<cut>>)Z_Copyz<<copy>>)Z_Pastez	<<paste>>)zSelect _Allz<<select-all>>)z_Find...z<<find>>)zFind A_gainz<<find-again>>)zFind _Selectionz<<find-selection>>)zFind in Files...z<<find-in-files>>)zR_eplace...z<<replace>>)zGo to _Linez<<goto-line>>)zS_how Completionsz<<force-open-completions>>)zE_xpand Wordz<<expand-word>>)zShow C_all Tipz<<force-open-calltip>>)zShow Surrounding P_arensz<<flash-paren>>format)zF_ormat Paragraphz<<format-paragraph>>)z_Indent Regionz<<indent-region>>)z_Dedent Regionz<<dedent-region>>)zComment _Out Regionz<<comment-region>>)zU_ncomment Regionz<<uncomment-region>>)zTabify Regionz<<tabify-region>>)zUntabify Regionz<<untabify-region>>)zToggle Tabsz<<toggle-tabs>>)zNew Indent Widthz<<change-indentwidth>>)zS_trip Trailing Whitespacez<<do-rstrip>>run)zR_un Modulez<<run-module>>)zRun... _Customizedz<<run-custom>>)zC_heck Modulez<<check-module>>)zPython Shellz<<open-python-shell>>shell)z_View Last Restartz<<view-restart>>)z_Restart Shellz<<restart-shell>>)z_Previous Historyz<<history-previous>>)z_Next Historyz<<history-next>>)z_Interrupt Executionz<<interrupt-execution>>debug)z_Go to File/Linez<<goto-file-line>>)z
!_Debuggerz<<toggle-debugger>>)z_Stack Viewerz<<open-stack-viewer>>)z!_Auto-open Stack Viewerz<<toggle-jit-stack-viewer>>Zoptions)zConfigure _IDLEz<<open-config-dialog>>)zShow _Code Contextz<<toggle-code-context>>)zShow _Line Numbersz<<toggle-line-numbers>>)z_Zoom Heightz<<zoom-height>>Zwindowhelp)z_About IDLEz<<about-idle>>)z
_IDLE Helpz<<help>>)zPython _Docsz<<python-docs>>Z
turtledemo   )zTurtle Demoz<<open-turtle-demo>>__main__)mainzidlelib.idle_test.test_mainmenu   )	verbosity)__doc__importlib.utilr   Zidlelib.configr   ZmenudefsappendZGetCurrentKeySetZdefault_keydefs__name__Zunittestr    r   r   !lib/python3.7/idlelib/mainmenu.py<module>
   s   

