ok

Mini Shell

Direktori : /proc/self/root/lib64/python2.7/idlelib/
Upload File :
Current File : //proc/self/root/lib64/python2.7/idlelib/AutoExpand.pyo

�
_цdc@s/ddlZddlZddd��YZdS(i����Nt
AutoExpandcBsReZddgfgZejejdZd�Zd�Zd�Z	d�Z
RS(	teditsE_xpand Words<<expand-word>>t_cCs|j|_d|_dS(N(ttexttNonetstate(tselfteditwin((s*/usr/lib64/python2.7/idlelib/AutoExpand.pyt__init__sc
CsT|jjd�}|jjdd�}|jsE|j�}d}nB|j\}}}}||ksr||kr�|j�}d}n|s�|jj�dS|j�}|jjdt|�d�||}	|dt|�}|dkr|jj�n|jj	d|	�|jjd�}|jjdd�}||||f|_dS(Ntinsertsinsert linestartsinsert lineenditbreaksinsert - %d charsi(
RtindextgetRtgetwordstbelltgetprevwordtdeletetlenR	(
Rteventt	curinserttcurlinetwordsRR	tlinetwordtnewword((s*/usr/lib64/python2.7/idlelib/AutoExpand.pytexpand_word_events.			

c	Cs-|j�}|sgS|jjdd�}tjd|d|�}~|jjdd�}tjd|d|�}~|r�|r�gSg}i}|j�x:|D]2}|j|�r�q�n|j|�|||<q�Wx:|D]2}|j|�rq�n|j|�|||<q�W|j|�|S(Ns1.0sinsert wordstarts\bs\w+\bsinsert wordendtend(RRRtretfindalltreversetappend(	RRtbeforetwbeforetaftertwafterRtdicttw((s*/usr/lib64/python2.7/idlelib/AutoExpand.pyR
0s4





cCs]|jjdd�}t|�}x1|dkrT||d|jkrT|d}q$W||S(Nsinsert linestartR	ii(RRRt	wordchars(RRti((s*/usr/lib64/python2.7/idlelib/AutoExpand.pyRNs
&(sE_xpand Words<<expand-word>>(t__name__t
__module__tmenudefststringt
ascii_letterstdigitsR%RRR
R(((s*/usr/lib64/python2.7/idlelib/AutoExpand.pyRs			((R*RR(((s*/usr/lib64/python2.7/idlelib/AutoExpand.pyt<module>s

Zerion Mini Shell 1.0