관리-도구
편집 파일: CodeContext.cpython-35.opt-2.pyc
���]� � @ s� d d l Z d d l m Z m Z m Z m Z m Z d d l Z d d l m Z d d l m Z d d d d d d d d d d d h Z d Z d Z e j d � d d � Z Gd d � d � Z d S)� N)�TOP�LEFT�X�W�SUNKEN)�maxsize)�idleConf�class�def�elif�else�except�finally�for�if�try�while�with�d i� z^(\s*)(\w*)c C s | j | � j � S)N)�match�groups)�s�c� r �0/opt/alt/python35/lib64/python3.5/CodeContext.py�<lambda> s r c @ s� e Z d Z d d g f g Z e j d d d d d d d �Z e j d d d d d d d �Z e j d d d d d d d �Z d d � Z d d d � Z d d � Z d d d d � Z d d � Z d d � Z d d � Z d S)!�CodeContext�options�!Code Conte_xt�<<toggle-code-context>>� extensionsZnumlines�type�int�default� �bgcolor�strZ LightGray�fgcolorZBlackc C s� | | _ | j | _ | j d | _ d | _ d g | _ d | _ t j d d d d d d d �} | r� | j � | j j d d � | j j t | j � | j j t | j � d S)N�fontr � � Fr r �visibler! �boolr# z<<toggle-code-context>>T���)r r- r* F)�editwin�text�textfont�label�info� topvisibler � GetOption�toggle_code_context_eventZsetvar�after�UPDATEINTERVAL�timer_event�FONTUPDATEINTERVAL�font_timer_event)�selfr. r+ r r r �__init__"