SILENT KILLERPanel

Current Path: > > opt > > alt > python35 > lib64 > python3.5 > idlelib > __pycache__


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt//alt/python35/lib64/python3.5/idlelib/__pycache__

NameTypeSizeLast ModifiedActions
AutoComplete.cpython-35.opt-1.pyc File 7687 bytes May 31 2024 13:51:47.
AutoComplete.cpython-35.opt-2.pyc File 5986 bytes May 31 2024 13:51:29.
AutoComplete.cpython-35.pyc File 7687 bytes May 31 2024 13:51:52.
AutoCompleteWindow.cpython-35.opt-1.pyc File 11462 bytes May 31 2024 13:51:47.
AutoCompleteWindow.cpython-35.opt-2.pyc File 10708 bytes May 31 2024 13:51:29.
AutoCompleteWindow.cpython-35.pyc File 11518 bytes May 31 2024 13:51:52.
AutoExpand.cpython-35.opt-1.pyc File 3168 bytes May 31 2024 13:51:47.
AutoExpand.cpython-35.opt-2.pyc File 2378 bytes May 31 2024 13:51:29.
AutoExpand.cpython-35.pyc File 3168 bytes May 31 2024 13:51:52.
Bindings.cpython-35.opt-1.pyc File 3225 bytes May 31 2024 13:51:47.
Bindings.cpython-35.opt-2.pyc File 2744 bytes May 31 2024 13:51:29.
Bindings.cpython-35.pyc File 3225 bytes May 31 2024 13:51:52.
CallTipWindow.cpython-35.opt-1.pyc File 5361 bytes May 31 2024 13:51:47.
CallTipWindow.cpython-35.opt-2.pyc File 5061 bytes May 31 2024 13:51:29.
CallTipWindow.cpython-35.pyc File 5361 bytes May 31 2024 13:51:52.
CallTips.cpython-35.opt-1.pyc File 5921 bytes May 31 2024 13:51:47.
CallTips.cpython-35.opt-2.pyc File 4279 bytes May 31 2024 13:51:29.
CallTips.cpython-35.pyc File 5921 bytes May 31 2024 13:51:52.
ClassBrowser.cpython-35.opt-1.pyc File 8554 bytes May 31 2024 13:51:47.
ClassBrowser.cpython-35.opt-2.pyc File 8062 bytes May 31 2024 13:51:29.
ClassBrowser.cpython-35.pyc File 8554 bytes May 31 2024 13:51:52.
CodeContext.cpython-35.opt-1.pyc File 6126 bytes May 31 2024 13:51:47.
CodeContext.cpython-35.opt-2.pyc File 4990 bytes May 31 2024 13:51:29.
CodeContext.cpython-35.pyc File 6167 bytes May 31 2024 13:51:52.
ColorDelegator.cpython-35.opt-1.pyc File 8567 bytes May 31 2024 13:51:47.
ColorDelegator.cpython-35.opt-2.pyc File 8404 bytes May 31 2024 13:51:29.
ColorDelegator.cpython-35.pyc File 8567 bytes May 31 2024 13:51:52.
Debugger.cpython-35.opt-1.pyc File 15576 bytes May 31 2024 13:51:47.
Debugger.cpython-35.opt-2.pyc File 15417 bytes May 31 2024 13:51:29.
Debugger.cpython-35.pyc File 15576 bytes May 31 2024 13:51:52.
Delegator.cpython-35.opt-1.pyc File 1344 bytes May 31 2024 13:51:47.
Delegator.cpython-35.opt-2.pyc File 1236 bytes May 31 2024 13:51:29.
Delegator.cpython-35.pyc File 1344 bytes May 31 2024 13:51:52.
EditorWindow.cpython-35.opt-1.pyc File 52024 bytes May 31 2024 13:51:47.
EditorWindow.cpython-35.opt-2.pyc File 50741 bytes May 31 2024 13:51:29.
EditorWindow.cpython-35.pyc File 52120 bytes May 31 2024 13:51:52.
FileList.cpython-35.opt-1.pyc File 3580 bytes May 31 2024 13:51:47.
FileList.cpython-35.opt-2.pyc File 3572 bytes May 31 2024 13:51:29.
FileList.cpython-35.pyc File 3610 bytes May 31 2024 13:51:52.
FormatParagraph.cpython-35.opt-1.pyc File 6355 bytes May 31 2024 13:51:47.
FormatParagraph.cpython-35.opt-2.pyc File 4465 bytes May 31 2024 13:51:29.
FormatParagraph.cpython-35.pyc File 6355 bytes May 31 2024 13:51:52.
GrepDialog.cpython-35.opt-1.pyc File 5641 bytes May 31 2024 13:51:47.
GrepDialog.cpython-35.opt-2.pyc File 5633 bytes May 31 2024 13:51:29.
GrepDialog.cpython-35.pyc File 5641 bytes May 31 2024 13:51:52.
HyperParser.cpython-35.opt-1.pyc File 7400 bytes May 31 2024 13:51:47.
HyperParser.cpython-35.opt-2.pyc File 6083 bytes May 31 2024 13:51:29.
HyperParser.cpython-35.pyc File 7400 bytes May 31 2024 13:51:52.
IOBinding.cpython-35.opt-1.pyc File 15172 bytes May 31 2024 13:51:47.
IOBinding.cpython-35.opt-2.pyc File 14744 bytes May 31 2024 13:51:29.
IOBinding.cpython-35.pyc File 15172 bytes May 31 2024 13:51:52.
IdleHistory.cpython-35.opt-1.pyc File 3679 bytes May 31 2024 13:51:47.
IdleHistory.cpython-35.opt-2.pyc File 2442 bytes May 31 2024 13:51:29.
IdleHistory.cpython-35.pyc File 3679 bytes May 31 2024 13:51:52.
MultiCall.cpython-35.opt-1.pyc File 16475 bytes May 31 2024 13:51:47.
MultiCall.cpython-35.opt-2.pyc File 14100 bytes May 31 2024 13:51:29.
MultiCall.cpython-35.pyc File 16540 bytes May 31 2024 13:51:52.
MultiStatusBar.cpython-35.opt-1.pyc File 1935 bytes May 31 2024 13:51:47.
MultiStatusBar.cpython-35.opt-2.pyc File 1927 bytes May 31 2024 13:51:29.
MultiStatusBar.cpython-35.pyc File 1935 bytes May 31 2024 13:51:52.
ObjectBrowser.cpython-35.opt-1.pyc File 5512 bytes May 31 2024 13:51:47.
ObjectBrowser.cpython-35.opt-2.pyc File 5504 bytes May 31 2024 13:51:29.
ObjectBrowser.cpython-35.pyc File 5512 bytes May 31 2024 13:51:52.
OutputWindow.cpython-35.opt-1.pyc File 4523 bytes May 31 2024 13:51:47.
OutputWindow.cpython-35.opt-2.pyc File 4340 bytes May 31 2024 13:51:29.
OutputWindow.cpython-35.pyc File 4523 bytes May 31 2024 13:51:52.
ParenMatch.cpython-35.opt-1.pyc File 6450 bytes May 31 2024 13:51:47.
ParenMatch.cpython-35.opt-2.pyc File 5015 bytes May 31 2024 13:51:29.
ParenMatch.cpython-35.pyc File 6450 bytes May 31 2024 13:51:52.
PathBrowser.cpython-35.opt-1.pyc File 4106 bytes May 31 2024 13:51:47.
PathBrowser.cpython-35.opt-2.pyc File 3957 bytes May 31 2024 13:51:29.
PathBrowser.cpython-35.pyc File 4106 bytes May 31 2024 13:51:52.
Percolator.cpython-35.opt-1.pyc File 3911 bytes May 31 2024 13:51:47.
Percolator.cpython-35.opt-2.pyc File 3903 bytes May 31 2024 13:51:29.
Percolator.cpython-35.pyc File 4084 bytes May 31 2024 13:51:52.
PyParse.cpython-35.opt-1.pyc File 10967 bytes May 31 2024 13:51:47.
PyParse.cpython-35.opt-2.pyc File 10085 bytes May 31 2024 13:51:30.
PyParse.cpython-35.pyc File 11409 bytes May 31 2024 13:51:52.
PyShell.cpython-35.opt-1.pyc File 48124 bytes May 31 2024 13:51:47.
PyShell.cpython-35.opt-2.pyc File 45535 bytes May 31 2024 13:51:30.
PyShell.cpython-35.pyc File 48263 bytes May 31 2024 13:51:52.
RemoteDebugger.cpython-35.opt-1.pyc File 14510 bytes May 31 2024 13:51:47.
RemoteDebugger.cpython-35.opt-2.pyc File 12109 bytes May 31 2024 13:51:30.
RemoteDebugger.cpython-35.pyc File 14652 bytes May 31 2024 13:51:52.
RemoteObjectBrowser.cpython-35.opt-1.pyc File 2009 bytes May 31 2024 13:51:47.
RemoteObjectBrowser.cpython-35.opt-2.pyc File 2001 bytes May 31 2024 13:51:30.
RemoteObjectBrowser.cpython-35.pyc File 2009 bytes May 31 2024 13:51:52.
ReplaceDialog.cpython-35.opt-1.pyc File 7645 bytes May 31 2024 13:51:47.
ReplaceDialog.cpython-35.opt-2.pyc File 6961 bytes May 31 2024 13:51:30.
ReplaceDialog.cpython-35.pyc File 7645 bytes May 31 2024 13:51:52.
RstripExtension.cpython-35.opt-1.pyc File 1353 bytes May 31 2024 13:51:47.
RstripExtension.cpython-35.opt-2.pyc File 1265 bytes May 31 2024 13:51:30.
RstripExtension.cpython-35.pyc File 1353 bytes May 31 2024 13:51:52.
ScriptBinding.cpython-35.opt-1.pyc File 7066 bytes May 31 2024 13:51:47.
ScriptBinding.cpython-35.opt-2.pyc File 5675 bytes May 31 2024 13:51:30.
ScriptBinding.cpython-35.pyc File 7066 bytes May 31 2024 13:51:52.
ScrolledList.cpython-35.opt-1.pyc File 5759 bytes May 31 2024 13:51:47.
ScrolledList.cpython-35.opt-2.pyc File 5751 bytes May 31 2024 13:51:30.
ScrolledList.cpython-35.pyc File 5759 bytes May 31 2024 13:51:52.
SearchDialog.cpython-35.opt-1.pyc File 3782 bytes May 31 2024 13:51:47.
SearchDialog.cpython-35.opt-2.pyc File 3522 bytes May 31 2024 13:51:30.
SearchDialog.cpython-35.pyc File 3782 bytes May 31 2024 13:51:52.
SearchDialogBase.cpython-35.opt-1.pyc File 7695 bytes May 31 2024 13:51:47.
SearchDialogBase.cpython-35.opt-2.pyc File 4987 bytes May 31 2024 13:51:30.
SearchDialogBase.cpython-35.pyc File 7695 bytes May 31 2024 13:51:52.
SearchEngine.cpython-35.opt-1.pyc File 7413 bytes May 31 2024 13:51:47.
SearchEngine.cpython-35.opt-2.pyc File 5751 bytes May 31 2024 13:51:30.
SearchEngine.cpython-35.pyc File 7413 bytes May 31 2024 13:51:52.
StackViewer.cpython-35.opt-1.pyc File 5592 bytes May 31 2024 13:51:47.
StackViewer.cpython-35.opt-2.pyc File 5584 bytes May 31 2024 13:51:30.
StackViewer.cpython-35.pyc File 5592 bytes May 31 2024 13:51:52.
ToolTip.cpython-35.opt-1.pyc File 4043 bytes May 31 2024 13:51:47.
ToolTip.cpython-35.opt-2.pyc File 4035 bytes May 31 2024 13:51:30.
ToolTip.cpython-35.pyc File 4043 bytes May 31 2024 13:51:52.
TreeWidget.cpython-35.opt-1.pyc File 15618 bytes May 31 2024 13:51:47.
TreeWidget.cpython-35.opt-2.pyc File 14833 bytes May 31 2024 13:51:30.
TreeWidget.cpython-35.pyc File 15618 bytes May 31 2024 13:51:52.
UndoDelegator.cpython-35.opt-1.pyc File 11891 bytes May 31 2024 13:51:47.
UndoDelegator.cpython-35.opt-2.pyc File 11883 bytes May 31 2024 13:51:30.
UndoDelegator.cpython-35.pyc File 11891 bytes May 31 2024 13:51:52.
WidgetRedirector.cpython-35.opt-1.pyc File 7120 bytes May 31 2024 13:51:47.
WidgetRedirector.cpython-35.opt-2.pyc File 3671 bytes May 31 2024 13:51:30.
WidgetRedirector.cpython-35.pyc File 7120 bytes May 31 2024 13:51:52.
WindowList.cpython-35.opt-1.pyc File 3231 bytes May 31 2024 13:51:47.
WindowList.cpython-35.opt-2.pyc File 3223 bytes May 31 2024 13:51:30.
WindowList.cpython-35.pyc File 3231 bytes May 31 2024 13:51:52.
ZoomHeight.cpython-35.opt-1.pyc File 1402 bytes May 31 2024 13:51:47.
ZoomHeight.cpython-35.opt-2.pyc File 1394 bytes May 31 2024 13:51:30.
ZoomHeight.cpython-35.pyc File 1402 bytes May 31 2024 13:51:52.
__init__.cpython-35.opt-1.pyc File 452 bytes May 31 2024 13:51:47.
__init__.cpython-35.opt-2.pyc File 141 bytes May 31 2024 13:51:30.
__init__.cpython-35.pyc File 452 bytes May 31 2024 13:51:52.
__main__.cpython-35.opt-1.pyc File 279 bytes May 31 2024 13:51:47.
__main__.cpython-35.opt-2.pyc File 198 bytes May 31 2024 13:51:30.
__main__.cpython-35.pyc File 279 bytes May 31 2024 13:51:52.
aboutDialog.cpython-35.opt-1.pyc File 6077 bytes May 31 2024 13:51:47.
aboutDialog.cpython-35.opt-2.pyc File 5906 bytes May 31 2024 13:51:30.
aboutDialog.cpython-35.pyc File 6077 bytes May 31 2024 13:51:52.
configDialog.cpython-35.opt-1.pyc File 49329 bytes May 31 2024 13:51:47.
configDialog.cpython-35.opt-2.pyc File 46576 bytes May 31 2024 13:51:30.
configDialog.cpython-35.pyc File 49329 bytes May 31 2024 13:51:52.
configHandler.cpython-35.opt-1.pyc File 26882 bytes May 31 2024 13:51:47.
configHandler.cpython-35.opt-2.pyc File 18679 bytes May 31 2024 13:51:30.
configHandler.cpython-35.pyc File 26882 bytes May 31 2024 13:51:52.
configHelpSourceEdit.cpython-35.opt-1.pyc File 5905 bytes May 31 2024 13:51:47.
configHelpSourceEdit.cpython-35.opt-2.pyc File 5398 bytes May 31 2024 13:51:30.
configHelpSourceEdit.cpython-35.pyc File 5905 bytes May 31 2024 13:51:52.
configSectionNameDialog.cpython-35.opt-1.pyc File 3932 bytes May 31 2024 13:51:47.
configSectionNameDialog.cpython-35.opt-2.pyc File 3294 bytes May 31 2024 13:51:30.
configSectionNameDialog.cpython-35.pyc File 3932 bytes May 31 2024 13:51:52.
dynOptionMenuWidget.cpython-35.opt-1.pyc File 2428 bytes May 31 2024 13:51:47.
dynOptionMenuWidget.cpython-35.opt-2.pyc File 2036 bytes May 31 2024 13:51:30.
dynOptionMenuWidget.cpython-35.pyc File 2428 bytes May 31 2024 13:51:52.
help.cpython-35.opt-1.pyc File 10980 bytes May 31 2024 13:51:47.
help.cpython-35.opt-2.pyc File 8229 bytes May 31 2024 13:51:30.
help.cpython-35.pyc File 10980 bytes May 31 2024 13:51:52.
idle.cpython-35.opt-1.pyc File 372 bytes May 31 2024 13:51:47.
idle.cpython-35.opt-2.pyc File 364 bytes May 31 2024 13:51:30.
idle.cpython-35.pyc File 372 bytes May 31 2024 13:51:52.
idlever.cpython-35.opt-1.pyc File 551 bytes May 31 2024 13:51:47.
idlever.cpython-35.opt-2.pyc File 320 bytes May 31 2024 13:51:30.
idlever.cpython-35.pyc File 551 bytes May 31 2024 13:51:52.
keybindingDialog.cpython-35.opt-1.pyc File 10963 bytes May 31 2024 13:51:47.
keybindingDialog.cpython-35.opt-2.pyc File 10003 bytes May 31 2024 13:51:30.
keybindingDialog.cpython-35.pyc File 10963 bytes May 31 2024 13:51:52.
macosxSupport.cpython-35.opt-1.pyc File 7170 bytes May 31 2024 13:51:47.
macosxSupport.cpython-35.opt-2.pyc File 5255 bytes May 31 2024 13:51:30.
macosxSupport.cpython-35.pyc File 7285 bytes May 31 2024 13:51:52.
rpc.cpython-35.opt-1.pyc File 20833 bytes May 31 2024 13:51:47.
rpc.cpython-35.opt-2.pyc File 17434 bytes May 31 2024 13:51:30.
rpc.cpython-35.pyc File 20936 bytes May 31 2024 13:51:52.
run.cpython-35.opt-1.pyc File 12742 bytes May 31 2024 13:51:47.
run.cpython-35.opt-2.pyc File 10814 bytes May 31 2024 13:51:30.
run.cpython-35.pyc File 12792 bytes May 31 2024 13:51:52.
tabbedpages.cpython-35.opt-1.pyc File 17076 bytes May 31 2024 13:51:47.
tabbedpages.cpython-35.opt-2.pyc File 12070 bytes May 31 2024 13:51:30.
tabbedpages.cpython-35.pyc File 17076 bytes May 31 2024 13:51:52.
textView.cpython-35.opt-1.pyc File 3463 bytes May 31 2024 13:51:47.
textView.cpython-35.opt-2.pyc File 3016 bytes May 31 2024 13:51:30.
textView.cpython-35.pyc File 3463 bytes May 31 2024 13:51:52.

Reading File: //opt//alt/python35/lib64/python3.5/idlelib/__pycache__/AutoCompleteWindow.cpython-35.opt-1.pyc



��YfKE�
@s�dZddlTddlmZddlmZmZdZdZdZ	dZ
dZdZdZ
dZdZGdd�d�ZdS)zH
An auto-completion window for IDLE, used by the AutoComplete extension
�)�*)�MC_SHIFT)�COMPLETE_FILES�COMPLETE_ATTRIBUTESz<<autocompletewindow-hide>>�
<FocusOut>�
<ButtonPress>z<<autocompletewindow-keypress>>�<Key>�<Key-BackSpace>�<Key-Return>�	<Key-Tab>�<Key-Up>�
<Key-Down>�
<Key-Home>�	<Key-End>�<Key-Prior>�
<Key-Next>z!<<autocompletewindow-keyrelease>>z<KeyRelease>z<B1-ButtonRelease>z<Configure>z<B1-Double-ButtonRelease>c@s�eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�ZdS) �AutoCompleteWindowcCs�||_d|_|_|_d|_|_d|_d|_d|_d|_	d|_
d|_d|_d|_
|_|_|_|_|_d|_dS)NF)�widget�autocompletewindow�listbox�	scrollbar�origselforeground�origselbackground�completions�morecompletions�mode�start�
startindex�lasttypedstart�userwantswindow�hideid�
keypressid�listupdateid�winconfigid�keyreleaseid�
doubleclickid�lastkey_was_tab)�selfr�r(�?/opt/alt/python35/lib64/python3.5/idlelib/AutoCompleteWindow.py�__init__s								,zAutoCompleteWindow.__init__cCs�tt|j�t|��}d}x1||krW|j|||krW|d7}q'W|t|j�kr�|jjd|j|fd|jt|j�f�|t|�kr�|jjd|j|f||d��||_dS)Nr�z%s+%dc)�min�lenrr�deleter�insert)r'�newstart�min_len�ir(r(r)�
_change_start8s&z AutoCompleteWindow._change_startcCsvd}t|j�}xD||kr[||d}|j||krN|}q|d}qWt|t|j�d�S)z�Find the first index in self.completions where completions[i] is
        greater or equal to s, or the last index if there is no such
        one.r�r+)r-rr,)r'�sr2�j�mr(r(r)�_binary_searchEs	z!AutoCompleteWindow._binary_searchc
CsG|j|�}|j|dt|��|kr6|S|d}t|j�}xT||kr�||d}|j|dt|��|kr�|}qR|d}qRW|d}||kr�|j|S|j|}|j|}tt|�t|��}	t|�}x.||	kr8||||kr8|d7}qW|d|�S)z�Assuming that s is the prefix of a string in self.completions,
        return the longest string which is a prefix of all the strings which
        s is a prefix of them. If s is not a prefix of a string, return s.Nr+r4)r8rr-r,)
r'r5�firstr2r6r7ZlastZ
first_compZ	last_compr1r(r(r)�_complete_stringRs(#
#	


#z#AutoCompleteWindow._complete_stringcCs�t|jj�d�}|jj|�|j}|j|}|j|�|kr]|}nbtt|�t|��}d}x.||kr�||||kr�|d7}q�W|d|�}|j	|�|j|dt|j
��|j
kr|jjd|jd|j
�n�|jjd|jjd�d|jjd��|jr�|j|_d|_|jjdt�x$|jD]}|jjt|�q�W|jj|j|j
��|j�dS)z|Should be called when the selection of the Listbox has changed.
        Updates the Listbox display and calls _change_start.rr+N�selectbackground�selectforeground�bgZfg)�intr�curselection�seerrr8r,r-r3rZ	configurerr�cgetrr.�ENDr/�
select_set�_selection_changed)r'�curselZltsZselstartr0r1r2�itemr(r(r)rDqs2	
	#
)
		z%AutoCompleteWindow._selection_changedcCsX|\|_|_||_|jj|�|_|jj|jd�|_|r�|j|j�}|j}|j	|�|j
|�}|j||kr�|t|j�dks�|j|ddt|��|kr�||kS||_|j|_
t|j�|_}	|	jd�|	jd�y#|	jjdd|	jdd�Wntk
raYnXt|	d	t�|_}
t|	d
|
jddd
d�|_}x!|jD]}|jt|�q�W|jd�|_|jd�|_ |
j!d|j"�|
j#dt$dt%�|j#dt&dt'dd�|	j(�|jj)|j
|j��|j*�|jj+t,|j-�|_.x!t/D]}
|jj0t,|
�q�W|jj+t1|j2�|_3x!t4D]}
|jj0t1|
�q�W|jj+t5|j6�|_7|jj0t5t8�|j+t9|j:�|_;|	j+t<|j=�|_>|j+t?|j@�|_AdS)z�Show the autocomplete list, bind events.
        If complete is True, complete the text, and if there is exactly one
        matching completion, don't open a list.r/r+Nz+10000+10000z!::tk::unsupported::MacWindowStyleZstyle�helpZnoActivatesZorientZyscrollcommandZexportselectionFr=Zwhiter<r;ZcommandZsideZfill�expandT)Brrrr�indexr�getrr:r3r8r-rrZToplevelr�wm_geometryZwm_overrideredirectZtkZcallZ_wZTclErrorZ	ScrollbarZVERTICALrZListbox�setrr/rBrArr�configZyviewZpackZRIGHT�YZLEFTZBOTHZliftrCrDZbind�HIDE_VIRTUAL_EVENT_NAME�
hide_eventr �HIDE_SEQUENCESZ	event_add�KEYPRESS_VIRTUAL_EVENT_NAME�keypress_eventr!�KEYPRESS_SEQUENCES�KEYRELEASE_VIRTUAL_EVENT_NAME�keyrelease_eventr$�KEYRELEASE_SEQUENCE�LISTUPDATE_SEQUENCE�listselect_eventr"�WINCONFIG_SEQUENCE�winconfig_eventr#�DOUBLECLICK_SEQUENCE�doubleclick_eventr%)r'Z
comp_listsrI�completerZuserWantsWinZ	completedrr2�acwrrrF�seqr(r(r)�show_window�sh		
'
	






		zAutoCompleteWindow.show_windowcCs
|j�sdS|j}|j|j�|j|j�\}}}}|j}|j�|j�}}	|j�|j�}
}|j�t	|t
d|
|��}|j�|}
||||	ks�||	kr�|
|7}
n
|
|	8}
|jd||
f�dS)Nrz+%d+%d)
�	is_activerr@rZbboxrZwinfo_width�winfo_heightZwinfo_rootxr,�maxZwinfo_rootyrK)r'�event�text�x�yZcxZcyr_Z	acw_widthZ
acw_heightZ
text_widthZtext_heightZnew_xZnew_yr(r(r)r[�s		&

z"AutoCompleteWindow.winconfig_eventcCs|j�sdS|j�dS)N)rb�hide_window)r'rer(r(r)rP�szAutoCompleteWindow.hide_eventcCsJ|j�sdSd|_t|jj�d�}|j|j|�dS)NTr)rbrr>rr?r3r)r'rerEr(r(r)rY�s
	z#AutoCompleteWindow.listselect_eventcCs;t|jj�d�}|j|j|�|j�dS)Nr)r>rr?r3rri)r'rerEr(r(r)r]�sz$AutoCompleteWindow.doubleclick_eventcs3|j�sdS|j�t|d�r4|j}nd}�dkrOd|_t��dks��d(ks�|jtkr��d)kr�|t@r�t��dkr�|j	|j
��n��dkr�|j	|j
d
�n��dkr|j	|j
d�n`�d	kr&|j	|j
d�n=t|j
�dkrI|j�dS|j	|j
dd*��|j
|_|j
jdt|j
j�d��|j
j|j|j
��|j�d
S�dkr�|j�dS|jtkr��d+ks|jtkr��d,kr�|t@r�t|j
j�d�}|j|dt|j
��|j
kr�|jtksu|j
r�|j	|j|�|j�dS�d-kr|rd|_t|j
j�d�}�dkr�d}n��dkrt|j�d}n��d.kr|j
j|j
j��|j
jd�}�dkr\td||�}q�tt|j�d||�}nB�dkr�td|d�}n tt|j�d|d�}|j
j|�|j
j|�|j�|j	|j|�d
S�dkrs|rs|jrZt|j
j�d�}|j	|j|�|j�d
Sd|_d|_dSn�t�fdd �d/D��r�dS|jr!|jd'kr!|j	|j
|j�|j
|_|j
jdt|j
j�d��|j
j|j|j
��|j�d
S|j�dSdS)0N�mc_staterZTabFr+�
underscore�	BackSpace�period�minus�_�.�-�breakZReturn�space�	parenleft�
parenright�bracketleft�bracketright�slash�	backslash�quotedbl�
apostrophe�Home�End�Prior�Next�Up�DownTc3s|]}|�kVqdS)Nr()�.0r5)�keysymr(r)�	<genexpr>bsz4AutoCompleteWindow.keypress_event.<locals>.<genexpr>�Shift�Control�Alt�Meta�Command�Option� )rkrl)rmrn���)rmrsrtrurvrw)rxryrzr{)r|r}r~rr�r�)r~r)r�r�r�r�r�r�)rbr��hasattrrjr&r-rrrr3rrirrZselect_clearr>r?rCr8rDrrrZnearestrcrdr,�any�char)r're�staterEZnewselZjumpr()r�r)rSs�			
&

		)
		# 
	
		
&

z!AutoCompleteWindow.keypress_eventcCsX|j�sdS|jjd�|jjd|jt|j�f�krT|j�dS)Nr/z%s+%dc)rbrrIrr-rri)r'rer(r(r)rVus
+z#AutoCompleteWindow.keyrelease_eventcCs
|jdk	S)N)r)r'r(r(r)rb}szAutoCompleteWindow.is_activecCs|j|j|j��dS)N)r3r:r)r'r(r(r)r^�szAutoCompleteWindow.completecCsL|j�sdSx!tD]}|jjt|�qW|jjt|j�d|_x!tD]}|jjt|�qZW|jjt|j	�d|_	|jjt
t�|jjt
|j�d|_|j
jt|j�d|_|jjt|j�d|_|jj�d|_|j
j�d|_
|jj�d|_dS)N)rbrQrZevent_deleterOZunbindr rTrRr!rUrWr$rrXr"rrZr#rZdestroy)r'r`r(r(r)ri�s0
	
				
	
	
zAutoCompleteWindow.hide_windowN)�__name__�
__module__�__qualname__r*r3r8r:rDrar[rPrYr]rSrVrbr^rir(r(r(r)rs 

$FsrN)rr)
rr	r
rrr
rrrr)�__doc__ZtkinterZidlelib.MultiCallrZidlelib.AutoCompleterrrOrQrRrTrUrWrXrZr\rr(r(r(r)�<module>s


SILENT KILLER Tool