ó V Qc@sÄddlZddlTddlmZddlmZdZdZejdƒZejdƒZejd ƒZ d efd „ƒYZ d e fd „ƒYZ e Z d„Z edkrÀe ƒndS(iÿÿÿÿN(t*(t_tkinter(t ScrolledTexts*-Courier-Bold-R-Normal-*-120-*s!*-Courier-Medium-O-Normal-*-120-*s:^ Page [1-9][0-9]*[ ]+\|^.*Last change:.*[1-9][0-9]* s^[ ]* s^[ ]*[Xv!_][Xv!_ ]* tEditableManPagecBsneZd d„Zd„Zd„Zd„ZeZd„Zd„Z d„Z d„Z d„Z d d „Z RS( cKshttj||f|ƒ|jdddƒ|jddtƒ|jddtƒd|_d|_dS(NtXt underlineit!tfontt_i( tapplyRt__init__t tag_configtBOLDFONTt ITALICFONTtNonetfptlineno(tselftmastertcnf((s2/usr/lib64/python2.7/Demo/tkinter/guido/ManPage.pyR s  cCs |jdkS(N(RR(R((s2/usr/lib64/python2.7/Demo/tkinter/guido/ManPage.pytbusy%scCs|jƒr|jƒndS(N(Rt _endparser(R((s2/usr/lib64/python2.7/Demo/tkinter/guido/ManPage.pytkill)s cCs-|j|ƒ|jj|tj|jƒdS(N(t _startparserttktcreatefilehandlerRtREADABLEt _filehandler(RR((s2/usr/lib64/python2.7/Demo/tkinter/guido/ManPage.pytasyncparsefile.s cCs4|jjƒ}|s#|jƒdS|j|ƒdS(N(RtreadlineRt _parseline(RRtmasktnextline((s2/usr/lib64/python2.7/Demo/tkinter/guido/ManPage.pyR6s  cCsyddlm}|d|d„}|j|dƒ}|j|ƒx&|jƒ}|s[Pn|j|ƒqE|jƒdS(Niÿÿÿÿ(tselectgcSs||ggg|ƒdS(Ni((RttoutR!((s2/usr/lib64/python2.7/Demo/tkinter/guido/ManPage.pytavail@stheight(R!tgetintRRRR(RRR!R#R$R ((s2/usr/lib64/python2.7/Demo/tkinter/guido/ManPage.pyt syncparsefile>s  cCs|jƒrtd‚n|jƒ||_d|_d|_d|_d|_|d}t |d<|j dt ƒ||ds   œ