Your IP : 3.135.247.237
3
��2a$ � @ sb d dl mZ d dlmZ dddd�ZdZG dd � d �Zej� ed
kr^d dl m
Z
e
dd
d� dS )� )�HyperParser)�idleConf�(�[�{)�)�]�}�d c @ s� e Zd ZdZd$Zdd� Zedd � �Zd
d� Zdd
� Z dd� Z
dd� Zdd� Zd%dd�Z
dd� Zdd� Zdd� Zdd� Zeeeed�Zd d!� Zd"d#� ZdS )&�
ParenMatchz<<parenmatch-check-restore>>�
<KeyPress>�
<ButtonPress>�<Key-Return>�<Key-BackSpace>c C s0 || _ |j| _|jj| j| j� d| _d| _d S )Nr )�editwin�textZbind�RESTORE_VIRTUAL_EVENT_NAME�
restore_event�counter�is_restore_active)�selfr � r �//opt/alt/python36/lib64/python3.6/parenmatch.py�__init__( s
zParenMatch.__init__c C sV t jddddd�| _t jdddddd �| _t jddd
ddd �| _t jt j� d
�| _d S )N�
extensionsr Zstyle�opener)�defaultzflash-delay�inti� )�typer �bell�bool� Zhilite)r Z GetOption�STYLE�FLASH_DELAY�BELLZGetHighlightZCurrentTheme�
HILITE_CONFIG)�clsr r r �reload3 s
zParenMatch.reloadc C s0 | j s,x| jD ]}| jj| j|� qW d| _ d S )NT)r �RESTORE_SEQUENCESr Z event_addr )r �seqr r r �activate_restore>