)L ihdZddlmZddlmZgdZGddeZGddeZGd d Zy ) z$ Data structures for the selection. ) annotations)Enum) SelectionType PasteModeSelectionStateceZdZdZdZdZdZy)rz Type of selection. CHARACTERSLINESBLOCKN)__name__ __module__ __qualname____doc__r r r ^/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/prompt_toolkit/selection.pyrrs J E ErrceZdZdZdZdZy)rEMACSVI_AFTER VI_BEFOREN)r r rrrrrrrrrs EHIrrcLeZdZdZdej f ddZddZd dZy) rz} State of the current selection. :param original_cursor_position: int :param type: :class:`~.SelectionType` rc.||_||_d|_y)NF)original_cursor_positiontype shift_mode)selfrrs r__init__zSelectionState.__init__-s )A% rcd|_y)NT)rrs renter_shift_modezSelectionState.enter_shift_mode6s rch|jjd|jd|jdS)Nz(original_cursor_position=z, type=)) __class__r rrrs r__repr__zSelectionState.__repr__9s8..))**DTEbEbDeelmqmvmvlyyz{{rN)rintrrreturnNone)r&r')r&str) r r rrrr rr r$rrrrr%sA)*+66 "%     |rrN) r __future__renumr__all__rrrrrrr,s=#  D  ||r