
    h                    h    S r SSKJr  SSKJr  / SQr " S S\5      r " S S\5      r " S	 S
5      rg)z$
Data structures for the selection.
    )annotations)Enum)SelectionType	PasteModeSelectionStatec                  $    \ rS rSrSrSrSrSrSrg)r      z
Type of selection.

CHARACTERSLINESBLOCK N)	__name__
__module____qualname____firstlineno____doc__r
   r   r   __static_attributes__r       kC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\prompt_toolkit/selection.pyr   r      s    
 J E Er   r   c                       \ rS rSrSrSrSrSrg)r      EMACSVI_AFTER	VI_BEFOREr   N)r   r   r   r   r   r   r   r   r   r   r   r   r      s    EHIr   r   c                  \    \ rS rSrSrS\R                  4     S	S jjrS
S jrSS jr	Sr
g)r   %   zm
State of the current selection.

:param original_cursor_position: int
:param type: :class:`~.SelectionType`
r   c                *    Xl         X l        SU l        g )NF)original_cursor_positiontype
shift_mode)selfr   r   s      r   __init__SelectionState.__init__-   s    
 )A%	r   c                    SU l         g )NT)r    r!   s    r   enter_shift_modeSelectionState.enter_shift_mode6   s	    r   c                l    U R                   R                   SU R                  < SU R                  < S3$ )Nz(original_cursor_position=z, type=))	__class__r   r   r   r%   s    r   __repr__SelectionState.__repr__9   s8    ..))**DTEbEbDeelmqmvmvlyyz{{r   )r   r    r   N)r   intr   r   returnNone)r.   r/   )r.   str)r   r   r   r   r   r   r
   r"   r&   r+   r   r   r   r   r   r   %   sA     )*+66 "%    
	 |r   r   N)	r   
__future__r   enumr   __all__r   r   r   r   r   r   <module>r4      s=    # D  | |r   