tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
Z\¬Qc@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((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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(
RtindextgetRtgetwordstbellt getprevwordtdeletetlenR    (
Rteventt    curinserttcurlinetwordsR R    tlinetwordtnewword((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/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((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/AutoExpand.pyR 0s4 
     cCs]|jjddƒ}t|ƒ}x1|dkrT||d|jkrT|d}q$W||S(Nsinsert linestartR    ii(RR Rt    wordchars(RRti((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/AutoExpand.pyRNs
 &(s E_xpand Words<<expand-word>>( t__name__t
__module__tmenudefststringt ascii_letterstdigitsR%RRR R(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/AutoExpand.pyRs            ((R*RR(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/AutoExpand.pyt<module>s