KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/lib64/python2.4/idlelib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.4/idlelib/FormatParagraph.pyc
mō
‚=5Dc@sZdkZdklZdfd„ƒYZd„Zd„Zd„Zd„Zd„ZdS(	N(sidleConftFormatParagraphcBs5tZddgfgZd„Zd„Zd„ZRS(NtformatsFormat Paragraphs<<format-paragraph>>cCs
||_dS(N(teditwintself(RR((t//usr/lib64/python2.4/idlelib/FormatParagraph.pyt__init__scCs
d|_dS(N(tNoneRR(R((Rtclosesc
Csęttidddƒƒ}	|ii}|iiƒ\}}|o#|o|i
||ƒ}d}
n%t
||idƒƒ\}}}
}|
oÁ|idƒ}tt|
ƒd„|ƒ}di|ƒ}t|	t|
ƒdƒ}t||ƒ}|idƒ}d}|d	pd}|d	 }n|
d
„}dit||ƒƒ|}nt||	ƒ}|iddd
ƒ||joH|id|ƒ|iƒ|i||ƒ|i||ƒ|iƒn|id|ƒ|i dƒdS(NtmainRt	paragraphttinserts
cCs||S(N(tsttl(RR
((Rt<lambda>/siiĸĸĸĸcCs||S(N(tprefixtitem(RR((RR?stsels1.0tend(!tinttidleConft	GetOptiontmaxformatwidthRRttexttget_selection_indicestfirsttlasttgettdatatcomment_headertfind_paragraphtindextsplittlinestmaptlentjointmaxtformat_widthtreformat_paragraphtnewdatatblock_suffixtbuildert
tag_removetmark_settundo_block_starttdeleteRtundo_block_stoptsee(
RteventRR&R*RR)R!R(RRRR((Rtformat_paragraph_event"s<
$ 

(sFormat Paragraphs<<format-paragraph>>(t__name__t
__module__tmenudefsRRR2(((RRs		c
Cs°tt|idƒƒ\}}|id|d|ƒ}xP|i	d|ddƒo5t
|ƒo(|d}|id|d|ƒ}q;W|}t|ƒ}t|ƒ}	xNt|ƒ|jo:t
||	ƒo(|d}|id|d|ƒ}qŽWd|}|d}|id|d|ƒ}x[|djoMt|ƒ|jo:t
||	ƒo(|d}|id|d|ƒ}q+Wd|d}||||i||ƒfS(Nt.s%d.0s%d.0 lineendt<Rii(R"RtmarkR tlinenotcolRRtlinetcomparetis_all_whitetfirst_linenotget_comment_headerRR#tcomment_header_lenRR(
RR8RR>RR9R;RR:R@((RROs,'
%


2
cCs
|idƒ}d}t|ƒ}x-||jot||ƒo|d}q$W||jo|Snt||ƒ}|d|jo.t||dƒot||dƒ}	n|}	|| }|}x||jot||ƒoîtid||ƒ}
xĮtdt|
ƒdƒD]­}|
|}|pqnt||iƒƒ|jo*||jo|i|iƒƒ|	}n||d}|dt|
ƒjo#|
|ddjo|d}qqW|d}qÎW|i|iƒƒ|i||ƒdi|ƒS(Ns
iis(\s+)it (RR R!tiR#tnR=t
get_indenttindent1tindent2tnewtpartialtretwordstrangetjtwordt
expandtabstlimittappendtrstriptextendR$(RRORHRBRMRLR!RCRERFRJRG((RR'hs@
'

*
,cCstid|ƒdj	S(Ns^\s*$(RItmatchR;R(R;((RR=‹scCstid|ƒiƒS(Ns^(\s*)(RIRSR;tgroup(R;((RRDŽscCs4tid|ƒ}|djodSn|idƒS(Ns^(\s*#*)R
i(RIRSR;tmRRT(R;RU((RR?‘s
(	RIt
configHandlerRRRR'R=RDR?(RRDR?R'RRIRR=((Rt?s	
;		#		

Anon7 - 2021