a
    }Œ@hZ  ã                   @   s¼   d Z ddlmZ ddlmZ dg d¢fdg d¢fdg d	¢fd
g d¢fdg d¢fdg d¢fdg d¢fdg fdg d¢fg	Zedƒr�ed d  d¡ e ¡ Ze	dkr¸ddl
mZ eddd� dS )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))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>>N)zPrin_t Windowz<<print-window>>N)z_Close Windowz<<close-window>>)z
E_xit IDLEz<<close-all-windows>>Zedit))Z_Undoz<<undo>>)Z_Redoz<<redo>>N)ZCu_tz<<cut>>)Z_Copyz<<copy>>)Z_Pastez	<<paste>>)zSelect _Allz<<select-all>>N)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>>N)z_Previous Historyz<<history-previous>>)z_Next Historyz<<history-next>>N)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>>N)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>>N)z
_IDLE Helpz<<help>>)zPython _Docsz<<python-docs>>Z
turtledemoéÿÿÿÿé   )zTurtle Demoz<<open-turtle-demo>>Ú__main__)Úmainzidlelib.idle_test.test_mainmenué   )Ú	verbosityN)Ú__doc__Úimportlib.utilr   Zidlelib.configr   ZmenudefsÚappendZGetCurrentKeySetZdefault_keydefsÚ__name__Zunittestr   © r   r   ú!lib/python3.9/idlelib/mainmenu.pyÚ<module>   s$   









¨`