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/AutoCompleteWindow.pyc

³ò
h”Rc
@sydZddkTddklZddkZdZdZdZdZdZ	dZ
dZdZdZ
ddd„ƒYZdS(sH
An auto-completion window for IDLE, used by the AutoComplete extension
iÿÿÿÿ(t*(tMC_SHIFTNs<<autocompletewindow-hide>>s
<FocusOut>s
<ButtonPress>s<<autocompletewindow-keypress>>s<Key>s<Key-BackSpace>s<Key-Return>s	<Key-Tab>s<Key-Up>s
<Key-Down>s
<Key-Home>s	<Key-End>s<Key-Prior>s
<Key-Next>s!<<autocompletewindow-keyrelease>>s<KeyRelease>s<B1-ButtonRelease>s<Configure>s<B1-Double-ButtonRelease>tAutoCompleteWindowcBseZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„Zd
„Zd„ZRS(cCs¨||_d|_|_|_d|_|_d|_d|_d|_	d|_
d|_d|_d|_
d|_|_|_|_|_|_t|_dS(N(twidgettNonetautocompletewindowtlistboxt	scrollbartorigselforegroundtorigselbackgroundtcompletionstmorecompletionstmodetstartt
startindextlasttypedstarttuserwantswindowthideidt
keypressidtlistupdateidtwinconfigidtkeyreleaseidt
doubleclickidtFalsetlastkey_was_tab(tselfR((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyt__init__s								,cCsñd}xP|t|iƒjo9|t|ƒjo&|i|||jo|d7}q	W|t|iƒjo:|iid|i|fd|it|iƒfƒn|t|ƒjo(|iid|i|f||ƒn||_dS(Niis%s+%dc(tlenR
RtdeleteRtinsert(Rtnewstartti((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyt
_change_start8s)!cCszd}t|iƒ}xH||jo:||d}|i||jo
|}q|d}qWt|t|iƒdƒS(s’Find the first index in self.completions where completions[i] is
        greater or equal to s, or the last index if there is no such
        one.iii(RR
tmin(RtsRtjtm((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyt_binary_searchEs

cCs1|i|ƒ}|i|t|ƒ |jo|Sn|d}t|iƒ}xR||joD||d}|i|t|ƒ |jo
|}qQ|d}qQW|d}t|ƒ}xft|i|ƒ|joKt|i|ƒ|jo1|i|||i||jo|d7}q¼W|i|| S(sÖAssuming that s is the prefix of a string in self.completions,
        return the longest string which is a prefix of all the strings which
        s is a prefix of them. If s is not a prefix of a string, return s.ii(R%R
R(RR"tfirstRR#R$tlast((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyt_complete_stringRs&



#cCsÈt|iiƒdƒ}|ii|ƒ|i}|i|}|i|ƒ|jo
|}n^d}xJ|t|ƒjo6|t|ƒjo#||||jo|d7}qhW|| }|i|ƒ|i|t|i	ƒ |i	jo#|ii
d|id|iƒnµ|ii
d|ii
dƒd|ii
dƒƒ|ioy|i|_d|_|iidtƒx$|iD]}|iit|ƒq}W|ii|i|i	ƒƒ|iƒndS(s|Should be called when the selection of the Listbox has changed.
        Updates the Listbox display and calls _change_start.iitselectbackgroundtselectforegroundtbgtfgN(tintRtcurselectiontseeRR
R%RR R
t	configureR	RtcgetRRRtENDRt
select_sett_selection_changed(RtcurseltltstselstartRRtitem((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyR4ms4	

;

$
	
c

CsF|\|_|_||_|ii|ƒ|_|ii|idƒ|_|oŠ|i|iƒ}|i	|ƒ|i
|ƒ}|i||joD|t|iƒdjp"|i|dt|ƒ |jodSqÜn||_|i|_
t|iƒ|_}|idƒ|idƒy#|iidd|iddƒWntj
onXt|d	tƒ|_}	t|d
|	idtdd
ƒ|_}
x!|iD]}|
it|ƒq¥W|
idƒ|_ |
idƒ|_!|	i"d|
i#ƒ|	i$dt%dt&ƒ|
i$dt'dt(dt)ƒ|ii*|i
|iƒƒ|i+ƒ|ii,t-|i.ƒ|_/x!t0D]}|ii1t-|ƒqpW|ii,t2|i3ƒ|_4x!t5D]}|ii1t2|ƒq¯W|ii,t6|i7ƒ|_8|ii1t6t9ƒ|
i,t:|i;ƒ|_<|i,t=|i>ƒ|_?|
i,t@|iAƒ|_BdS(s¤Show the autocomplete list, bind events.
        If complete is True, complete the text, and if there is exactly one
        matching completion, don't open a list.RiNs+10000+10000s!::tk::unsupported::MacWindowStyletstylethelptnoActivatestorienttyscrollcommandtexportselectionR+twhiteR*R)tcommandtsidetfilltexpand(CR
RRRtindexRtgetR
R(R R%RRRtToplevelRtwm_geometrytwm_overrideredirectttktcallt_wtTclErrort	ScrollbartVERTICALRtListboxtsetRRRR2R1RR	tconfigtyviewtpacktRIGHTtYtLEFTtBOTHtTrueR3R4tbindtHIDE_VIRTUAL_EVENT_NAMEt
hide_eventRtHIDE_SEQUENCESt	event_addtKEYPRESS_VIRTUAL_EVENT_NAMEtkeypress_eventRtKEYPRESS_SEQUENCEStKEYRELEASE_VIRTUAL_EVENT_NAMEtkeyrelease_eventRtKEYRELEASE_SEQUENCEtLISTUPDATE_SEQUENCEtlistselect_eventRtWINCONFIG_SEQUENCEtwinconfig_eventRtDOUBLECLICK_SEQUENCEtdoubleclick_eventR(
Rt
comp_listsRDtcompleteRtuserWantsWint	completedRtacwRRR8tseq((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pytshow_windowsj	
"	



		cCs‘|iƒpdSn|i}|ii|iƒ|ii|iƒ\}}}}|id||iiƒ||iiƒ|i	ƒfƒdS(Ns+%d+%d(
t	is_activeRRR/RtbboxRGtwinfo_rootxtwinfo_rootytwinfo_height(RteventRntxtytcxtcy((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyRgÔs
	!cCs#|iƒpdSn|iƒdS(N(Rqthide_window(RRv((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyR[às
cCsO|iƒpdSnt|_t|iiƒdƒ}|i|i|ƒdS(Ni(RqRXRR-RR.R R
(RRvR5((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyReås

	cCs;t|iiƒdƒ}|i|i|ƒ|iƒdS(Ni(R-RR.R R
R{(RRvR5((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyRiìsc		CsA|iƒpdSn|i}t|dƒo
|i}nd}|djo
t|_nt|ƒdjp-|d%jp |iti	jo|d&joC|t
@o6t|ƒdjo|i|i|ƒn¬|djo|i|id	ƒn‡|djo|i|id
ƒnb|djo|i|idƒn=t|iƒdjo|i
ƒdSn|i|id ƒ|i|_|iidt|iiƒdƒƒ|ii|i|iƒƒ|iƒd
Sn`|djo|i
ƒdSnA|itijo
|d'jp-|iti	jo|d(jo‘|t
@o„t|iiƒdƒ}|i|t|iƒ |ijo5|itijp
|io|i|i|ƒn|i
ƒdSnp|d)jo—|ot|_t|iiƒdƒ}|djo
d}n|djot|iƒd}ní|d*jo‡|ii|iiƒƒ|iidƒ}|djotd||ƒ}q,|djpt‚tt|iƒd||ƒ}nY|djotd|dƒ}n5|djpt‚tt|iƒd|dƒ}|ii|ƒ|ii|ƒ|iƒ|i|i|ƒd
SnÌ|djok|oc|io?t|iiƒdƒ}|i|i|ƒ|i
ƒd
Sq=t|_t|_dSnTtd„g}d+D]}||i |ƒdjqþ~ƒodSn|i
ƒdSdS(,Ntmc_stateitTabit
underscoret	BackSpacetperiodtminust_t.t-iÿÿÿÿtbreaktReturntspacet	parenleftt
parenrighttbracketlefttbracketrighttslasht	backslashtquotedblt
apostrophetHometEndtPriortNexttUptDowncSs|p|S(((RwRx((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyt<lambda>RstShifttControltAlttMetatCommandtOption(R~R(R€R(R€R‡RˆR‰RŠR‹(RŒRRŽR(RR‘R’R“R”R•(R’R“(R—R˜R™RšR›Rœ(!RqtkeysymthasattrR|RRRRtAutoCompletetCOMPLETE_FILESRR R
R{RRtselect_clearR-R.R3R%R4tCOMPLETE_ATTRIBUTESR
RXRtnearestRutmaxtAssertionErrorR!treducetfind(	RRvRtstateR5tnewseltjumpt_[1]R"((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyR_òs¦
	


 





&





$

	




$
 


			-
cCsb|iƒpdSn|iidƒ|iid|it|iƒfƒjo|iƒndS(NRs%s+%dc(RqRRDRRR
R{(RRv((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyRb^s

,cCs
|idj	S(N(RR(R((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyRqfscCs|i|i|iƒƒdS(N(R R(R
(R((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyRkiscCsQ|iƒpdSnx!tD]}|iit|ƒqW|iit|iƒd|_x!tD]}|iit	|ƒq_W|iit	|i
ƒd|_
|iittƒ|iit|i
ƒd|_
|iit|iƒd|_|iit|iƒd|_|iiƒd|_|iiƒd|_|iiƒd|_dS(N(RqR\Rtevent_deleteRZtunbindRRR`R^RRaRcRRRdRRRfRRtdestroy(RRo((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyR{ms4
					
	
	
(t__name__t
__module__RR R%R(R4RpRgR[ReRiR_RbRqRkR{(((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pyRs	 	
	
		#	D					l			(s
<FocusOut>s
<ButtonPress>(
s<Key>s<Key-BackSpace>s<Key-Return>s	<Key-Tab>s<Key-Up>s
<Key-Down>s
<Key-Home>s	<Key-End>s<Key-Prior>s
<Key-Next>((t__doc__tTkintert	MultiCallRRŸRZR\R^R`RaRcRdRfRhR(((s6/usr/local/lib/python2.5/idlelib/AutoCompleteWindow.pys<module>s


Man Man