SILENT KILLERPanel

Current Path: > > opt > alt > python34 > lib64 > python3.4 > 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/python34/lib64/python3.4/idlelib///__pycache__

NameTypeSizeLast ModifiedActions
AutoComplete.cpython-34.pyc File 7715 bytes April 17 2024 17:10:07.
AutoComplete.cpython-34.pyo File 7715 bytes April 17 2024 17:10:07.
AutoCompleteWindow.cpython-34.pyc File 11539 bytes April 17 2024 17:10:07.
AutoCompleteWindow.cpython-34.pyo File 11483 bytes April 17 2024 17:10:03.
AutoExpand.cpython-34.pyc File 3183 bytes April 17 2024 17:10:07.
AutoExpand.cpython-34.pyo File 3183 bytes April 17 2024 17:10:07.
Bindings.cpython-34.pyc File 3159 bytes April 17 2024 17:10:07.
Bindings.cpython-34.pyo File 3159 bytes April 17 2024 17:10:07.
CallTipWindow.cpython-34.pyc File 5370 bytes April 17 2024 17:10:07.
CallTipWindow.cpython-34.pyo File 5370 bytes April 17 2024 17:10:07.
CallTips.cpython-34.pyc File 5951 bytes April 17 2024 17:10:07.
CallTips.cpython-34.pyo File 5951 bytes April 17 2024 17:10:07.
ClassBrowser.cpython-34.pyc File 8578 bytes April 17 2024 17:10:07.
ClassBrowser.cpython-34.pyo File 8578 bytes April 17 2024 17:10:07.
CodeContext.cpython-34.pyc File 6186 bytes April 17 2024 17:10:07.
CodeContext.cpython-34.pyo File 6145 bytes April 17 2024 17:10:03.
ColorDelegator.cpython-34.pyc File 8025 bytes April 17 2024 17:10:07.
ColorDelegator.cpython-34.pyo File 8025 bytes April 17 2024 17:10:07.
Debugger.cpython-34.pyc File 15672 bytes April 17 2024 17:10:07.
Debugger.cpython-34.pyo File 15672 bytes April 17 2024 17:10:07.
Delegator.cpython-34.pyc File 1101 bytes April 17 2024 17:10:07.
Delegator.cpython-34.pyo File 1101 bytes April 17 2024 17:10:07.
EditorWindow.cpython-34.pyc File 52664 bytes April 17 2024 17:10:07.
EditorWindow.cpython-34.pyo File 52568 bytes April 17 2024 17:10:03.
FileList.cpython-34.pyc File 3640 bytes April 17 2024 17:10:07.
FileList.cpython-34.pyo File 3610 bytes April 17 2024 17:10:03.
FormatParagraph.cpython-34.pyc File 6373 bytes April 17 2024 17:10:07.
FormatParagraph.cpython-34.pyo File 6373 bytes April 17 2024 17:10:07.
GrepDialog.cpython-34.pyc File 5664 bytes April 17 2024 17:10:07.
GrepDialog.cpython-34.pyo File 5664 bytes April 17 2024 17:10:07.
HyperParser.cpython-34.pyc File 7433 bytes April 17 2024 17:10:07.
HyperParser.cpython-34.pyo File 7433 bytes April 17 2024 17:10:07.
IOBinding.cpython-34.pyc File 14437 bytes April 17 2024 17:10:07.
IOBinding.cpython-34.pyo File 14437 bytes April 17 2024 17:10:07.
IdleHistory.cpython-34.pyc File 3703 bytes April 17 2024 17:10:07.
IdleHistory.cpython-34.pyo File 3703 bytes April 17 2024 17:10:07.
MultiCall.cpython-34.pyc File 16619 bytes April 17 2024 17:10:07.
MultiCall.cpython-34.pyo File 16554 bytes April 17 2024 17:10:03.
MultiStatusBar.cpython-34.pyc File 1944 bytes April 17 2024 17:10:07.
MultiStatusBar.cpython-34.pyo File 1944 bytes April 17 2024 17:10:07.
ObjectBrowser.cpython-34.pyc File 5524 bytes April 17 2024 17:10:07.
ObjectBrowser.cpython-34.pyo File 5524 bytes April 17 2024 17:10:07.
OutputWindow.cpython-34.pyc File 4547 bytes April 17 2024 17:10:07.
OutputWindow.cpython-34.pyo File 4547 bytes April 17 2024 17:10:07.
ParenMatch.cpython-34.pyc File 6471 bytes April 17 2024 17:10:07.
ParenMatch.cpython-34.pyo File 6471 bytes April 17 2024 17:10:07.
PathBrowser.cpython-34.pyc File 4118 bytes April 17 2024 17:10:07.
PathBrowser.cpython-34.pyo File 4118 bytes April 17 2024 17:10:07.
Percolator.cpython-34.pyc File 4127 bytes April 17 2024 17:10:07.
Percolator.cpython-34.pyo File 3954 bytes April 17 2024 17:10:03.
PyParse.cpython-34.pyc File 11526 bytes April 17 2024 17:10:07.
PyParse.cpython-34.pyo File 11084 bytes April 17 2024 17:10:03.
PyShell.cpython-34.pyc File 48208 bytes April 17 2024 17:10:07.
PyShell.cpython-34.pyo File 48069 bytes April 17 2024 17:10:03.
RemoteDebugger.cpython-34.pyc File 14655 bytes April 17 2024 17:10:07.
RemoteDebugger.cpython-34.pyo File 14513 bytes April 17 2024 17:10:03.
RemoteObjectBrowser.cpython-34.pyc File 2009 bytes April 17 2024 17:10:07.
RemoteObjectBrowser.cpython-34.pyo File 2009 bytes April 17 2024 17:10:07.
ReplaceDialog.cpython-34.pyc File 6920 bytes April 17 2024 17:10:07.
ReplaceDialog.cpython-34.pyo File 6920 bytes April 17 2024 17:10:07.
RstripExtension.cpython-34.pyc File 1359 bytes April 17 2024 17:10:07.
RstripExtension.cpython-34.pyo File 1359 bytes April 17 2024 17:10:07.
ScriptBinding.cpython-34.pyc File 7082 bytes April 17 2024 17:10:07.
ScriptBinding.cpython-34.pyo File 7082 bytes April 17 2024 17:10:07.
ScrolledList.cpython-34.pyc File 5771 bytes April 17 2024 17:10:07.
ScrolledList.cpython-34.pyo File 5771 bytes April 17 2024 17:10:07.
SearchDialog.cpython-34.pyc File 3361 bytes April 17 2024 17:10:07.
SearchDialog.cpython-34.pyo File 3361 bytes April 17 2024 17:10:07.
SearchDialogBase.cpython-34.pyc File 7713 bytes April 17 2024 17:10:07.
SearchDialogBase.cpython-34.pyo File 7713 bytes April 17 2024 17:10:07.
SearchEngine.cpython-34.pyc File 7473 bytes April 17 2024 17:10:07.
SearchEngine.cpython-34.pyo File 7473 bytes April 17 2024 17:10:07.
StackViewer.cpython-34.pyc File 5619 bytes April 17 2024 17:10:07.
StackViewer.cpython-34.pyo File 5619 bytes April 17 2024 17:10:07.
ToolTip.cpython-34.pyc File 4052 bytes April 17 2024 17:10:07.
ToolTip.cpython-34.pyo File 4052 bytes April 17 2024 17:10:07.
TreeWidget.cpython-34.pyc File 15657 bytes April 17 2024 17:10:07.
TreeWidget.cpython-34.pyo File 15657 bytes April 17 2024 17:10:07.
UndoDelegator.cpython-34.pyc File 11816 bytes April 17 2024 17:10:07.
UndoDelegator.cpython-34.pyo File 11816 bytes April 17 2024 17:10:07.
WidgetRedirector.cpython-34.pyc File 7119 bytes April 17 2024 17:10:07.
WidgetRedirector.cpython-34.pyo File 7119 bytes April 17 2024 17:10:07.
WindowList.cpython-34.pyc File 3237 bytes April 17 2024 17:10:07.
WindowList.cpython-34.pyo File 3237 bytes April 17 2024 17:10:07.
ZoomHeight.cpython-34.pyc File 1402 bytes April 17 2024 17:10:07.
ZoomHeight.cpython-34.pyo File 1402 bytes April 17 2024 17:10:07.
__init__.cpython-34.pyc File 434 bytes April 17 2024 17:10:07.
__init__.cpython-34.pyo File 434 bytes April 17 2024 17:10:07.
__main__.cpython-34.pyc File 279 bytes April 17 2024 17:10:07.
__main__.cpython-34.pyo File 279 bytes April 17 2024 17:10:07.
aboutDialog.cpython-34.pyc File 5951 bytes April 17 2024 17:10:07.
aboutDialog.cpython-34.pyo File 5951 bytes April 17 2024 17:10:07.
configDialog.cpython-34.pyc File 48987 bytes April 17 2024 17:10:07.
configDialog.cpython-34.pyo File 48987 bytes April 17 2024 17:10:07.
configHandler.cpython-34.pyc File 26731 bytes April 17 2024 17:10:07.
configHandler.cpython-34.pyo File 26731 bytes April 17 2024 17:10:07.
configHelpSourceEdit.cpython-34.pyc File 5793 bytes April 17 2024 17:10:07.
configHelpSourceEdit.cpython-34.pyo File 5793 bytes April 17 2024 17:10:07.
configSectionNameDialog.cpython-34.pyc File 3941 bytes April 17 2024 17:10:07.
configSectionNameDialog.cpython-34.pyo File 3941 bytes April 17 2024 17:10:07.
dynOptionMenuWidget.cpython-34.pyc File 2437 bytes April 17 2024 17:10:07.
dynOptionMenuWidget.cpython-34.pyo File 2437 bytes April 17 2024 17:10:07.
help.cpython-34.pyc File 9749 bytes April 17 2024 17:10:07.
help.cpython-34.pyo File 9749 bytes April 17 2024 17:10:03.
idle.cpython-34.pyc File 368 bytes April 17 2024 17:10:07.
idle.cpython-34.pyo File 368 bytes April 17 2024 17:10:07.
idlever.cpython-34.pyc File 551 bytes April 17 2024 17:10:07.
idlever.cpython-34.pyo File 551 bytes April 17 2024 17:10:07.
keybindingDialog.cpython-34.pyc File 11016 bytes April 17 2024 17:10:07.
keybindingDialog.cpython-34.pyo File 11016 bytes April 17 2024 17:10:07.
macosxSupport.cpython-34.pyc File 7306 bytes April 17 2024 17:10:07.
macosxSupport.cpython-34.pyo File 7191 bytes April 17 2024 17:10:03.
rpc.cpython-34.pyc File 21006 bytes April 17 2024 17:10:07.
rpc.cpython-34.pyo File 20903 bytes April 17 2024 17:10:03.
run.cpython-34.pyc File 12646 bytes April 17 2024 17:10:07.
run.cpython-34.pyo File 12596 bytes April 17 2024 17:10:03.
tabbedpages.cpython-34.pyc File 17139 bytes April 17 2024 17:10:07.
tabbedpages.cpython-34.pyo File 17139 bytes April 17 2024 17:10:07.
textView.cpython-34.pyc File 3338 bytes April 17 2024 17:10:07.
textView.cpython-34.pyo File 3338 bytes April 17 2024 17:10:07.

Reading File: //opt/alt/python34/lib64/python3.4/idlelib///__pycache__/ParenMatch.cpython-34.pyo

�
e f9�@s�dZddlmZddlmZidd6dd6dd	6Zd
ZGdd�d�Zed
kr�ddl	Z	e	j
ddd�ndS)z�ParenMatch -- An IDLE extension for parenthesis matching.

When you hit a right paren, the cursor should move briefly to the left
paren.  Paren here is used generically; the matching applies to
parentheses, square brackets, and curly braces.
�)�HyperParser)�idleConf�(�)�[�]�{�}�dc@sHeZdZdZdd1gfgZejddddd�Zejddd	d
ddd�Zej	ej
�d
�Zejdddd
ddd�ZdZ
d2Zdd�Zdd�Zdd�Zdd�Zdd�Zd d!�Zd"d#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Zd-d.�Zd/d0�Zd"S)3�
ParenMatcha�Highlight matching parentheses

    There are three supported style of paren matching, based loosely
    on the Emacs options.  The style is select based on the
    HILITE_STYLE attribute; it can be changed used the set_style
    method.

    The supported styles are:

    default -- When a right paren is typed, highlight the matching
        left paren for 1/2 sec.

    expression -- When a right paren is typed, highlight the entire
        expression from the left paren to the right paren.

    TODO:
        - extend IDLE with configuration dialog to change options
        - implement rest of Emacs highlight styles (see below)
        - print mismatch warning in IDLE status window

    Note: In Emacs, there are several styles of highlight where the
    matching paren is highlighted whenever the cursor is immediately
    to the right of a right paren.  I don't know how to do that in Tk,
    so I haven't bothered.
    Zedit�Show surrounding parens�<<flash-paren>>�
extensions�style�default�
expressionzflash-delay�type�inti�Zhilite�bell�bool�z<<parenmatch-check-restore>>�
<KeyPress>�
<ButtonPress>�<Key-Return>�<Key-BackSpace>cCsT||_|j|_|jj|j|j�d|_d|_|j|j�dS)Nr)	�editwin�textZbind�RESTORE_VIRTUAL_EVENT_NAME�
restore_event�counter�is_restore_active�	set_style�STYLE)�selfr�r$�7/opt/alt/python34/lib64/python3.4/idlelib/ParenMatch.py�__init__;s	
		zParenMatch.__init__cCsC|js?x'|jD]}|jj|j|�qWd|_ndS)NT)r �RESTORE_SEQUENCESrZ	event_addr)r#�seqr$r$r%�activate_restoreGs	zParenMatch.activate_restorecCsC|jr?x'|jD]}|jj|j|�qWd|_ndS)NF)r r'rZevent_deleter)r#r(r$r$r%�deactivate_restoreMs	zParenMatch.deactivate_restorecCs[||_|dkr0|j|_|j|_n'|dkrW|j|_|j|_ndS)Nrr)r"�create_tag_default�
create_tag�set_timeout_last�set_timeout�create_tag_expression�set_timeout_none)r#rr$r$r%r!Ss	zParenMatch.set_stylecCsWt|jd�j�}|dkr2|j�dS|j�|j|�|j�dS)N�insert)rr�get_surrounding_brackets�warn_mismatchedr)r,r-)r#�event�indicesr$r$r%�flash_paren_event\s


zParenMatch.flash_paren_eventcCs�|jjd�}|tkr"dSt|jd�}|j�sDdS|jt|d�}|dkrt|j�dS|j�|j	|�|j
�dS)Nz	insert-1cT)r�get�_openersrrZ
is_in_coder2r3r)r,r.)r#r4ZcloserZhpr5r$r$r%�paren_closed_eventfs


zParenMatch.paren_closed_eventNcCs-|jjd�|j�|jd7_dS)N�parenr)rZ
tag_deleter*r)r#r4r$r$r%rvs
zParenMatch.restore_eventcCs ||jkr|j�ndS)N)rr)r#Ztimer_countr$r$r%�handle_restore_timer{szParenMatch.handle_restore_timercCs|jr|jj�ndS)N)�BELLrr)r#r$r$r%r3s	zParenMatch.warn_mismatchedcCs1|jjd|d�|jjd|j�dS)z'Highlight the single paren that matchesr:rN)r�tag_add�
tag_config�
HILITE_CONFIG)r#r5r$r$r%r+�szParenMatch.create_tag_defaultcCsk|jj|d�d	kr-|dd}n
|d}|jjd|d|�|jjd|j�dS)
zHighlight the entire expressionrrrr	z+1cr:rN)rrr	)rr7r=r>r?)r#r5Z
rightindexr$r$r%r/�s

z ParenMatch.create_tag_expressioncCsP|jd7_||j|jjd�dd�}|jjjt||�dS)zSHighlight will remain until user input turns it off
        or the insert has movedrr1cSsE||jjd�kr(|j|�n|jjjt||�dS)Nr1)r�indexr;r�
text_frame�after�CHECK_DELAY)�callmer#�cr@r$r$r%rD�sz+ParenMatch.set_timeout_none.<locals>.callmeN)rrr@rrArBrC)r#rDr$r$r%r0�s	zParenMatch.set_timeout_nonecCs;|jd7_|jjj|j||jdd��dS)z7The last highlight created will be removed after .5 secrcSs
|j|�S)N)r;)r#rEr$r$r%�<lambda>�sz-ParenMatch.set_timeout_last.<locals>.<lambda>N)rrrArB�FLASH_DELAY)r#r$r$r%r-�szParenMatch.set_timeout_last)rr
)rrrr)�__name__�
__module__�__qualname__�__doc__ZmenudefsrZ	GetOptionr"rGZGetHighlightZCurrentThemer?r<rr'r&r)r*r!r6r9rr;r3r+r/r0r-r$r$r$r%rs4		
r�__main__Nz!idlelib.idle_test.test_parenmatch�	verbosity�)rKZidlelib.HyperParserrZidlelib.configHandlerrr8rCrrHZunittest�mainr$r$r$r%�<module>s�

SILENT KILLER Tool