ÿØÿàJFIFÿþ ÿÛC       ÿÛC ÿÀÿÄÿÄ"#QrÿÄÿÄ&1!A"2qQaáÿÚ ?Øy,æ/3JæÝ¹È߲؋5êXw²±ÉyˆR”¾I0ó2—PI¾IÌÚiMö¯–þrìN&"KgX:Šíµ•nTJnLK„…@!‰-ý ùúmë;ºgµŒ&ó±hw’¯Õ@”Ü— 9ñ-ë.²1<yà‚¹ïQÐU„ہ?.’¦èûbß±©Ö«Âw*VŒ) `$‰bØÔŸ’ëXÖ-ËTÜíGÚ3ð«g Ÿ§¯—Jx„–’U/ÂÅv_s(Hÿ@TñJÑãõçn­‚!ÈgfbÓc­:él[ðQe 9ÀPLbÃãCµm[5¿ç'ªjglå‡Ûí_§Úõl-;"PkÞÞÁQâ¼_Ñ^¢SŸx?"¸¦ùY騐ÒOÈ q’`~~ÚtËU¹CڒêV  I1Áß_ÿÙ V~gc@sdZddlTddlZdefdYZedZdedZe dkrddl Z e j d d d d e dd l mZeendS(sSimple text browser for IDLE i(t*Nt TextViewercBs2eZdZeedZdZddZRS(s*A simple text viewer dialog for IDLE cCs5tj|||jdd|jddd|jd|j|sQdndfd|_d |_|j|j ||j d |j ||_ |j j|jd |j |jd |j |j jd ||j jdt||_|jr1|j||j|jndS(sHShow the given text in a scrollable window with a 'close' button If modal option set to False, user can interact with other windows, otherwise they will be unable to interact with other windows until the textview window is closed. _htest - bool; change box location when running htest. t borderwidthis =%dx%d+%d+%diii ids#ffffffs#000000tWM_DELETE_WINDOWssgtstateN(tToplevelt__init__t configuretgeometryt winfo_rootxt winfo_rootytbgtfgt CreateWidgetsttitletprotocoltOktparentttextViewt focus_settbindtinserttconfigtDISABLEDtis_modalt transienttgrab_sett wait_window(tselfRRttexttmodalt_htest((s5/opt/alt/python27/lib64/python2.7/idlelib/textView.pyR s*  !          c CsCt|dtdd}t|}t|ddd|jdt|_t|dtdtd d |_t |d t d d d |j d |j |_ |jjd|j j|j jd|jj|jj|jjdtdt|j jdtdtdt|jdtdt|jdtdtdtdS(NtrelieftheightiRtClosetcommandt takefocustorientthighlightthicknessitwrapR R tyscrollcommandtsidetfilltexpand(tFrametSUNKENtButtonRtFALSEtbuttonOkt ScrollbartVERTICALt scrollbarViewtTexttWORDR R RRtyviewtsettpacktRIGHTtYtLEFTtTRUEtBOTHtBOTTOMtXtTOP(Rt frameTextt frameButtons((s5/opt/alt/python27/lib64/python2.7/idlelib/textView.pyR 0s  cCs$|jr|jn|jdS(N(Rt grab_releasetdestroy(Rtevent((s5/opt/alt/python27/lib64/python2.7/idlelib/textView.pyRAs  N( t__name__t __module__t__doc__tTruetFalseRR tNoneR(((s5/opt/alt/python27/lib64/python2.7/idlelib/textView.pyRs$ cCst||||S(N(R(RRRR((s5/opt/alt/python27/lib64/python2.7/idlelib/textView.pyt view_textGscCsy:|r*ddl}|j|d}nt|d}Wnbtk rmtjdddd|d|nKtk r}tdddt|d|nXt|||j|SdS( NitrRsFile Load ErrortmessagesUnable to load file %r .RsUnicode Decode Error( tcodecstopentIOErrort tkMessageBoxt showerrortUnicodeDecodeErrortstrRLtread(RRtfilenametencodingRROttextFileterr((s5/opt/alt/python27/lib64/python2.7/idlelib/textView.pyt view_fileJs       t__main__sidlelib.idle_test.test_textviewt verbosityitexit(trun(RHtTkinterRRRRRIRLRKR[RFtunittesttmainRJtidlelib.idle_test.htestR_(((s5/opt/alt/python27/lib64/python2.7/idlelib/textView.pyts  ?