sQc@sdZddlZddlmZddlmZddgdhdidjdkddldmdnddoddpdqgfddrdsddtdudvdwddxdydzd{d|d}gfd5d~dddddddgfdFdgfdIddgfdNddddgfdWddgfdZddddgfgZejredadbdZ edadbdcZ edadbdd3edadbj dee eddbdadf5nej Z [dS(sDefine 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(tidleConf(t macosxSupporttfiles _New Windows<>s_Open...s<>sOpen _Module...s<>sClass _Browsers<>s _Path Browsers<>t_Saves<>s Save _As...s<>sSave Cop_y As...s<>s Prin_t Windows<>t_Closes<>tE_xits<>teditt_Undos<>t_Redos<>tCu_ts<>t_Copys<>t_Pastes <>s Select _Alls<>s_Find...s<>s Find A_gains<>sFind _Selections<>sFind in Files...s<>s R_eplace...s <>s Go to _Lines <>tformats_Indent Regions<>s_Dedent Regions<>sComment _Out Regions<>sU_ncomment Regions<>s Tabify Regions<>sUntabify Regions<>s Toggle Tabss<>sNew Indent Widths<>truns Python Shells<>tshells_View Last Restarts<>s_Restart Shells<>tdebugs_Go to File/Lines<>s !_Debuggers<>s _Stack Viewers<>s!_Auto-open Stack Viewers<>toptionss_Configure IDLE...s<>thelps _About IDLEs<>s _IDLE Helps<>s Python _Docss<>iiiiii(s _New Windows<>(s_Open...s<>(sOpen _Module...s<>(sClass _Browsers<>(s _Path Browsers<>(Rs<>(s Save _As...s<>(sSave Cop_y As...s<>(s Prin_t Windows<>(Rs<>(Rs<>(Rs<>(Rs<>(R s<>(R s<>(R s <>(s Select _Alls<>(s_Find...s<>(s Find A_gains<>(sFind _Selections<>(sFind in Files...s<>(s R_eplace...s <>(s Go to _Lines <>(s_Indent Regions<>(s_Dedent Regions<>(sComment _Out Regions<>(sU_ncomment Regions<>(s Tabify Regions<>(sUntabify Regions<>(s Toggle Tabss<>(sNew Indent Widths<>(s Python Shells<>(s_View Last Restarts<>(s_Restart Shells<>(s_Go to File/Lines<>(s !_Debuggers<>(s _Stack Viewers<>(s!_Auto-open Stack Viewers<>(s_Configure IDLE...s<>(s _About IDLEs<>(s _IDLE Helps<>(s Python _Docss<>(t__doc__tsystidlelib.configHandlerRtidlelibRtNonetmenudefstrunningAsOSXApptquitItemt closeItemtinserttGetCurrentKeySettdefault_keydefs(((s&/sys/lib/python2.7/idlelib/Bindings.pyt s