Your IP : 3.148.145.219
�
e fKE �
@ s� d Z d d l Td d l m Z d d l m Z m Z d Z d Z d Z d Z
d Z d Z d Z
d Z d Z Gd d � d � Z d S)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� e Z d Z d d � Z d d � Z d d � Z d d � Z d d
� Z d d � Z d
d � Z d d � Z
d d � Z d d � Z d d � Z
d d � Z d d � Z d d � Z d d � Z d S) �AutoCompleteWindowc C s� | | _ d | _ | _ | _ d | _ | _ d | _ d | _ d | _ d | _ d | _
d | _ d | _ d | _
| _ | _ | _ | _ | _ d | _ d S)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/python34/lib64/python3.4/idlelib/AutoCompleteWindow.py�__init__ s ,zAutoCompleteWindow.__init__c C s� t t | j � t | � � } d } x1 | | k rW | j | | | k rW | d 7} q'