python (3.11.7)

(root)/
lib/
python3.11/
idlelib/
__pycache__/
autoexpand.cpython-311.opt-2.pyc

eh	ddlZddlZGddZedkrddlmZedddSdS)	NcJeZdZejejzdzZdZdZdZ	dZ
dS)
AutoExpand_cN|j|_|jj|_d|_dS)N)textbellstate)selfeditwins  F/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/idlelib/autoexpand.py__init__zAutoExpand.__init__s!L	IN	


c	|jd}|jdd}|js|}d}n.|j\}}}}||ks||kr|}d}|s|dS|}|jdt|zd||}	|dzt|z}|dkr||j	d|	|jd}|jdd}||||f|_dS)Ninsertinsert linestartzinsert lineendrbreakzinsert - %d chars)
rindexgetr	getwordsrgetprevworddeletelenr)
r
event	curinsertcurlinewordsrrlinewordnewwords
          rexpand_word_eventzAutoExpand.expand_word_events[;IOOH--	)-- 24DEEz	MMOOEEE)-&E5&$""dgoo

	IIKKK7!!	,s4yy8(CCC,c%jj(A::IIKKK	7+++IOOH--	)-- 24DEEE9g5
wrcN	|}|sgS|jdd}tjd|zdz|}~|jdd}tjd|zdz|}~|s|sgSg}i}||D]2}||r|||||<3|D]2}||r|||||<3|||S)Nz1.0zinsert wordstartz\bz\w+\bzinsert wordendend)rrrrefindallreverseappend)	r
rbeforewbeforeafterwafterrdictws	         rrzAutoExpand.getwords6sJI!!	Iu&899*UT\H4f==	

.66EDL83U;;	v	I		Axx{{
LLOOODGG		Axx{{
LLOOODGG
Trc	|jdd}t|}|dkr/||dz
|jvr|dz
}|dkr||dz
|jv||dS)Nrrrr)rrr	wordchars)r
ris   rrzAutoExpand.getprevwordUsx3y}}/::II!eeQqS	T^33!A!eeQqS	T^33ABBxrN)__name__
__module____qualname__string
ascii_lettersdigitsr/r
r!rrrrrrsd$v}4s:I
6>rr__main__)mainz!idlelib.idle_test.test_autoexpand)	verbosity)r$r4rr1unittestr9r7rr<module>r=s

			



HHHHHHHHVzD	,::::::r