Æ
[d:c       s5      d  k  Z   d  k Z  d f  d     YZ d  S(   Ns
   AutoExpandc      s    
 h  d g d <Z   h  d g d <Z  d d d f g f g Z  e i e i d Z  d   Z  d   Z 9 d	   Z	 W d
   Z
 RS(   Ns   <Alt-slash>s   <<expand-word>>s   <Meta-slash>s   edits   E_xpand words   _c    s1     | i |  _  t |  i _  t |  _ d  S(   N(   s   editwins   texts   selfs   Nones   wordlists   state(   s   selfs   editwins.   /mit/python/share/python2.0/idle/AutoExpand.pys   __init__ s   c 
   sŪ     |  i i d  } ! |  i i d d  } " |  i o # |  i   } $ d } nR & |  i \ } } } } ' | | j p
 | | j o ( |  i   } ) d } n * | o + |  i i   , d Sn - |  i   } . |  i i d t |  d  / | | }	 0 | d t |  } 1 | d j o 2 |  i i   n 3 |  i i	 d |	  4 |  i i d  } 5 |  i i d d  } 6 | | | | f |  _ 7 d Sd  S(   Ns   inserts   insert linestarts   insert lineendi    s   breaks   insert - %d charsi   (   s   selfs   texts   indexs	   curinserts   gets   curlines   states   getwordss   wordss   inserts   lines   bells   getprevwords   words   deletes   lens   newword(
   s   selfs   events	   curinserts   curlines   wordss   indexs   inserts   lines   words   newwords.   /mit/python/share/python2.0/idle/AutoExpand.pys   expand_word_event s.    c 	   s  9 : |  i   } ; | o < g  Sn = |  i i d d  } > t i d | d |  } ? ~ @ |  i i d d  } A t i d | d |  } B ~ C | o | o D g  Sn E g  } F h  } H | i   I xM | d I r@ } J | i |  o
 K qį n L | i |  M | | | <qį WO xM | d O r@ } P | i |  o
 Q q:n R | i |  S | | | <q:WT | i |  U | Sd  S(   Ns   1.0s   insert wordstarts   \bs   \w+\bs   insert wordends   endi    (   s   selfs   getprevwords   words   texts   gets   befores   res   findalls   wbefores   afters   wafters   wordss   dicts   reverses   ws   append(	   s   selfs   words   befores   wbefores   afters   wafters   wordss   dicts   ws.   /mit/python/share/python2.0/idle/AutoExpand.pys   getwords9 s8   		 	
 	
c    sy   W X |  i i d d  } Y t |  } Z x: Z | d j o | | d |  i j o [ | d } q0 W\ | | Sd  S(   Ns   insert linestarts   inserti    i   (   s   selfs   texts   gets   lines   lens   is	   wordchars(   s   selfs   lines   is.   /mit/python/share/python2.0/idle/AutoExpand.pys   getprevwordW s    ((   s   keydefss   unix_keydefss   menudefss   strings   letterss   digitss	   wordcharss   __init__s   expand_word_events   getwordss   getprevword(    s.   /mit/python/share/python2.0/idle/AutoExpand.pys
   AutoExpand s   (   s   strings   res
   AutoExpand(    s.   /mit/python/share/python2.0/idle/AutoExpand.pys   ? s   