ÿØÿà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Áß_ÿÙ ;Pc@swdZddlTddlZdefdYZedkrseZeeddd d j ej ndS( sSimple text browser i(t*Nt TextViewercBs;eZdZdddZdZdZddZRS(s, simple text viewer dialog for idle cCstj|||jdd|jddd|jd|jdfd|_d|_|j|j ||j d |j ||_ |j j|jd |j |jd |j |dk r|j jd |n |j||j jd tdS(sIf data exists, load it into viewer, otherwise try to load file. fileName - string, should be an absoulute filename t borderwidthis =%dx%d+%d+%diqii s#ffffffs#000000tWM_DELETE_WINDOWssgtstateN(tToplevelt__init__t configuretgeometryt winfo_rootxt winfo_rootytbgtfgt CreateWidgetsttitletprotocoltOktparentttextViewt focus_settbindtNonetinsertt LoadTextFiletconfigtDISABLED(tselfRRtfileNametdata((sE/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/textView.pyRs$         cCsid}yt|d}Wn0tk rKtjdddd| dnX|jjd|jdS(NtrRsFile Load ErrortmessagesUnable to load file s .g(RtopentIOErrort tkMessageBoxt showerrorRRtread(RRttextFile((sE/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/textView.pyR4s 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(NtrelieftheightittexttClosetcommandt takefocustorientthighlightthicknessitwrapR R tyscrollcommandtsidetfilltexpand(tFrametSUNKENtButtonRtFALSEtbuttonOkt ScrollbartVERTICALt scrollbarViewtTexttWORDR R RRtyviewtsettpacktRIGHTtYtLEFTtTRUEtBOTHtBOTTOMtXtTOP(Rt frameTextt frameButtons((sE/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/textView.pyR >s  cCs|jdS(N(tdestroy(Rtevent((sE/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/textView.pyROsN(t__name__t __module__t__doc__RRRR R(((sE/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/textView.pyRs  t__main__R'tViewR)cCsttddS(NR:s ./textView.py(Rtroot(((sE/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/textView.pytVt( RMtTkinterR!RRRKtTkRPR4R>tmainloop(((sE/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/textView.pyt s  B