
|Nc           @   s  d  Z  d d l Z d d l m Z d d l m Z d dg dh di dj dk d dl dm dn d do d dp dq g f d dr ds d dt du dv dw d dx dy dz d{ d| d} g f d5 d~ d d d d d d d g f dF d g f dI d d g f dN d d d d g f dW d d g f dZ d d d d g f g Z e j   re da db d Z	 e da db dc Z
 e da db dd 3e da db j de e
  e d db da df 5n  e j   Z [ d S(   s  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.

iN(   t   idleConf(   t   macosxSupportt   files   _New Windows   <<open-new-window>>s   _Open...s   <<open-window-from-file>>s   Open _Module...s   <<open-module>>s   Class _Browsers   <<open-class-browser>>s   _Path Browsers   <<open-path-browser>>t   _Saves   <<save-window>>s   Save _As...s   <<save-window-as-file>>s   Save Cop_y As...s   <<save-copy-of-window-as-file>>s   Prin_t Windows   <<print-window>>t   _Closes   <<close-window>>t   E_xits   <<close-all-windows>>t   editt   _Undos   <<undo>>t   _Redos   <<redo>>t   Cu_ts   <<cut>>t   _Copys   <<copy>>t   _Pastes	   <<paste>>s   Select _Alls   <<select-all>>s   _Find...s   <<find>>s   Find A_gains   <<find-again>>s   Find _Selections   <<find-selection>>s   Find in Files...s   <<find-in-files>>s   R_eplace...s   <<replace>>s   Go to _Lines   <<goto-line>>t   formats   _Indent Regions   <<indent-region>>s   _Dedent Regions   <<dedent-region>>s   Comment _Out Regions   <<comment-region>>s   U_ncomment Regions   <<uncomment-region>>s   Tabify Regions   <<tabify-region>>s   Untabify Regions   <<untabify-region>>s   Toggle Tabss   <<toggle-tabs>>s   New Indent Widths   <<change-indentwidth>>t   runs   Python Shells   <<open-python-shell>>t   shells   _View Last Restarts   <<view-restart>>s   _Restart Shells   <<restart-shell>>t   debugs   _Go to File/Lines   <<goto-file-line>>s
   !_Debuggers   <<toggle-debugger>>s   _Stack Viewers   <<open-stack-viewer>>s   !_Auto-open Stack Viewers   <<toggle-jit-stack-viewer>>t   optionss   _Configure IDLE...s   <<open-config-dialog>>t   helps   _About IDLEs   <<about-idle>>s
   _IDLE Helps   <<help>>s   Python _Docss   <<python-docs>>i    i   iii   i   (   s   _New Windows   <<open-new-window>>(   s   _Open...s   <<open-window-from-file>>(   s   Open _Module...s   <<open-module>>(   s   Class _Browsers   <<open-class-browser>>(   s   _Path Browsers   <<open-path-browser>>(   R   s   <<save-window>>(   s   Save _As...s   <<save-window-as-file>>(   s   Save Cop_y As...s   <<save-copy-of-window-as-file>>(   s   Prin_t Windows   <<print-window>>(   R   s   <<close-window>>(   R   s   <<close-all-windows>>(   R   s   <<undo>>(   R   s   <<redo>>(   R	   s   <<cut>>(   R
   s   <<copy>>(   R   s	   <<paste>>(   s   Select _Alls   <<select-all>>(   s   _Find...s   <<find>>(   s   Find A_gains   <<find-again>>(   s   Find _Selections   <<find-selection>>(   s   Find in Files...s   <<find-in-files>>(   s   R_eplace...s   <<replace>>(   s   Go to _Lines   <<goto-line>>(   s   _Indent Regions   <<indent-region>>(   s   _Dedent Regions   <<dedent-region>>(   s   Comment _Out Regions   <<comment-region>>(   s   U_ncomment Regions   <<uncomment-region>>(   s   Tabify Regions   <<tabify-region>>(   s   Untabify Regions   <<untabify-region>>(   s   Toggle Tabss   <<toggle-tabs>>(   s   New Indent Widths   <<change-indentwidth>>(   s   Python Shells   <<open-python-shell>>(   s   _View Last Restarts   <<view-restart>>(   s   _Restart Shells   <<restart-shell>>(   s   _Go to File/Lines   <<goto-file-line>>(   s
   !_Debuggers   <<toggle-debugger>>(   s   _Stack Viewers   <<open-stack-viewer>>(   s   !_Auto-open Stack Viewers   <<toggle-jit-stack-viewer>>(   s   _Configure IDLE...s   <<open-config-dialog>>(   s   _About IDLEs   <<about-idle>>(   s
   _IDLE Helps   <<help>>(   s   Python _Docss   <<python-docs>>(   t   __doc__t   syst   idlelib.configHandlerR    t   idlelibR   t   Nonet   menudefst   runningAsOSXAppt   quitItemt	   closeItemt   insertt   GetCurrentKeySett   default_keydefs(    (    (    s%   C:\RCS\Python\lib\idlelib\Bindings.pyt   <module>
   s   							