config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/idlelib/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/idlelib/ColorDelegator.pyc

³ò
h”Rc
@séddkZddkZddkZddkZddkTddklZddklZeZ	d„Z
d„Zeieƒei
ƒZeidei
ƒZeidƒZd	efd
„ƒYZd„ZedjoeƒndS(
iÿÿÿÿN(t*(t	Delegator(tidleConfcCsd|di|ƒdS(s9Return a named group pattern matching list of alternates.s(?P<%s>t|t)(tjoin(tnamet
alternates((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pytanyscCsçdtdtiƒd}g}ttƒD]'}|idƒp|t|ƒq+q+~}dtd|ƒd}tddgƒ}d}d	}d
}d}	td||	||gƒ}
|d
|d
|d
|
d
tddgƒS(Ns\btKEYWORDt_s([^.'\"\\#]\b|^)tBUILTINtCOMMENTs#[^\n]*s&(\b[rRuU])?'[^'\\\n]*(\\.[^'\\\n]*)*'?s&(\b[rRuU])?"[^"\\\n]*(\\.[^"\\\n]*)*"?s2(\b[rRuU])?'''[^'\\]*((\\.|'(?!''))[^'\\]*)*(''')?s2(\b[rRuU])?"""[^"\\]*((\\.|"(?!""))[^"\\]*)*(""")?tSTRINGRtSYNCs\n(Rtkeywordtkwlisttdirt__builtin__t
startswithtstr(tkwt_[1]Rtbuiltinlisttbuiltintcommenttsqstringtdqstringt	sq3stringt	dq3stringtstring((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pytmake_pats*s\s+(\w+)s.*?\b(as)\btColorDelegatorcBs˜eZd„Zd„Zd„Zd„Zdd„Zdd„ZdZ	e
ZeZ
dd„ZdZdd„Zd„Zd	„Zd
„Zd„ZRS(
cCs6ti|ƒt|_t|_t|_|iƒdS(N(Rt__init__tprogtidprogtasprogtLoadTagDefs(tself((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyR!%s

			cCss|idj	o|idƒnti||ƒ|dj	o1|iƒ|id|iƒ|iddƒndS(Ns<<toggle-auto-coloring>>s1.0tend(	tdelegatetNonetunbindRtsetdelegatet
config_colorstbindttoggle_colorize_eventtnotify_range(R&R(((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyR+,s

cCsLx8|iiƒD]'\}}|o|i||qqW|idƒdS(Ntsel(ttagdefstitemst
tag_configuret	tag_raise(R&ttagtcnf((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyR,5s
cCstidddƒ}hti|dƒd<ti|dƒd<ti|dƒd	<ti|d
ƒd<ti|dƒd
<hdd<dd<d<hdd<dd<d<ti|dƒd<ti|dƒd<ti|dƒd<|_todG|iGHndS(NtmaintThemeRRRRR	RRRR
t
definitiont
DEFINITIONt
backgroundt
foregroundRtTODOtbreaktBREAKterrortERRORthitR1(Rt	GetOptiontGetHighlightR)R1tDEBUG(R&ttheme((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyR%;scCsG|i|ƒ}|ii|||ƒ|i||dt|ƒƒdS(Ns+%dc(tindexR(tinsertR/tlen(R&RGtcharsttags((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyRHMscCs3|i|ƒ}|ii||ƒ|i|ƒdS(N(RGR(tdeleteR/(R&tindex1tindex2((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyRLRscCs–|id||ƒ|ioto	dGHndSn|iot|_to	dGHq\n|io,to	dGHn|id|iƒ|_ndS(NR=scolorizing already scheduledsstop colorizingsschedule colorizingi(	ttag_addtafter_idREt
colorizingtTruetstop_colorizingtallow_colorizingtaftert
recolorize(R&RMRN((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyR/[s
	
	

	cCs|io3|i}d|_to	dGHn|i|ƒnt|_t|_|o%|ip|i	ƒq{||_
ndS(Nscancel scheduled recolorizer(RPR)REtafter_canceltFalseRTRRRSRQtdestroytclose_when_done(R&RZRP((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pytcloseis
					
cCsÕ|io3|i}d|_to	dGHn|i|ƒn|io'|ioto	dGHnt|_n|i|_|io'|io|id|i	ƒ|_ntodG|iodpdGHndS(Nscancel scheduled recolorizersstop colorizingisauto colorizing turnedtontoffR>(
RPR)RERWRTRQRRRSRURV(R&teventRP((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyR.ws"
				

cCsSd|_|ipto	dGHndSn|ipto	dGHndSn|ioto	dGHndSnz`t|_t|_to	dGHnt	i
ƒ}|iƒt	i
ƒ}tod||GHnWdt|_X|io?|iddƒo,to	dGHn|i
d	|iƒ|_n|io |i}d|_|iƒndS(
Nsno delegatesauto colorizing is offsalready colorizings
colorizing...s%.3f secondsR=s1.0sreschedule colorizingi(R)RPR(RERTRQRXRSRRttimetclocktrecolorize_maint
tag_nextrangeRURVRZRY(R&tt0tt1ttop((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyRVˆs@	
	
	
				

	
		c	Csud}xhto`|id|ƒ}|pPn|\}}|id||ƒ|id|ƒ}|o|d}nd}d}|}d}t}x×|pÏ|}|i|d|ƒ}t|ddƒ}d|i|d	ƒj}|i||ƒ}	|	pdSnx*|i	i
ƒD]}
|i|
||ƒqW||	}|ii|ƒ}xž|o–xt|i
ƒiƒD]`\}}
|
oM|i|ƒ\}}|i||d
||d
|ƒ|
djo\|ii||ƒ}|o<|idƒ\}}|id
|d
||d
|ƒqÈqÌ|
djo›d|jo|idƒ}n
t|ƒ}xlto`|ii|||ƒ}|pPn|idƒ\}}|id|d
||d
|ƒq\WqÌqlqlW|ii||iƒƒ}qRWd|i|d	ƒjo|}d}nt}|p|id|ƒn|iƒ|ioto	dGHndSq•q•Wq	WdS(Ns1.0R=Rits+%d lines linestartiids-1cs+%dctdeftclassR:timportt#R	scolorizing stopped(RgRh(RRRbt
tag_removet
tag_prevrangeRXRGtmint	tag_namestgetR1tkeysR"tsearcht	groupdictR2tspanROR#tmatchRIR$R'tupdateRSRE(R&tnexttitemtheadttailRJtlines_to_gettoktmarktlineR5tmtkeytvaluetatbtm1tendpos((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyRa¥s
	
	

	  


	cCs1x*|iiƒD]}|i|ddƒqWdS(Ns1.0R'(R1RpRk(R&R5((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pytremovecolorsösN(t__name__t
__module__R!R+R,R%R)RHRLRPRRRTRXRQR/RZR[R.RVRaR…(((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyR #s 								QcCs‹ddkl}tƒ}|id|iƒtddƒ}|idddd	ƒ|iƒ||ƒ}tƒ}|i|ƒ|i	ƒdS(
Niÿÿÿÿ(t
PercolatortWM_DELETE_WINDOWR;twhitetexpanditfilltboth(
RˆtTktwm_protocoltquittTexttpackt	focus_setR tinsertfiltertmainloop(Rˆtrootttexttptd((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pyR7ús	
	
t__main__(R_treRRtTkinterRt
configHandlerRRXRERRtcompiletSR"R#R$R R7R†(((s2/usr/local/lib/python2.5/idlelib/ColorDelegator.pys<module>s 
		×	


Man Man