+
     Bi                     Z    ^ RI Ht  ! R R4      t]R8X  d   ^ RIHt ]! R^RR7       R	# R	# )
    )idleConfc                   >   a  ] tR t^t o R tR tR tR tR tRt	V t
R# )Historyc                    Wn         . V n        R V n        R V n        \        P
                  ! RRR^R4      V n        VP                  RV P                  4       VP                  RV P                  4       R # )Nmainr   cyclicboolz<<history-previous>>z<<history-next>>)
texthistoryprefixpointerr   	GetOptionr   bindhistory_prevhistory_next)selfr
   s   &&&/usr/lib/python3.14/idlelib/history.py__init__History.__init__   sb     	((HaP		($*;*;<		$d&7&78    c                *    V P                  R R7       R# )Freversebreakfetchr   events   &&r   r   History.history_next   s    

5
!r   c                *    V P                  R R7       R# )Tr   r   r   r   s   &&r   r   History.history_prev$   s    

4
 r   c                   \        V P                  4      pV P                  pV P                  pVey   Veu   V P                  P                  RRR4      '       g3   V P                  P                  RR4      V P                  V,          8w  d    R ;r4V P                  P                  RR4       Ve   VfY   V P                  P                  RR4      pV'       d   TpM1V P                  '       d   R	pMV P                  P                  4        R # \        V4      p Y1'       d   R	M^,          pV^ 8  g   W28  d   V P                  P                  4        V P                  '       g
   V^ 8  d   R # V P                  P                  RR4      V8w  d:   V P                  P                  RR4       V P                  P                  RVR4       R ;r4MkV P                  V,          pVR V V8X  g   K  \        V4      V8  g   K  V P                  P                  RR4       V P                  P                  RVR4        V P                  P                  R4       V P                  P                  RRR4       W0n        W@n        R # )
Ninsertz!=zend-1ciomarkstdinselz1.0end)lenr   r   r   r
   comparegetmark_setr   belldeleter#   see
tag_remove)r   r   nhistr   r   nprefixitems   &&     r   r   History.fetch)   s    DLL!,,6#5yy  4::IIMM(H5g9NN#''		""8X6?fnYY]]8X6F;;; GIINN$f+Wr!+G{g.		 {{{w{yy}}Xx8FB		((8<		((67C'++G<<(DHW~'CI,?		  84		  49		h		UE51r   c                    VP                  4       p\        V4      ^8  d8    V P                  P                  V4       V P                  P                  V4       RV n        RV n        R#   \         d     L8i ; i)   N)stripr)   r   remove
ValueErrorappendr   r   )r   sources   &&r   storeHistory.storeZ   se    v;?##F+ LL'	  s   A( (A65A6)r   r   r   r   r
   N)__name__
__module____qualname____firstlineno__r   r   r   r   r<   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s$     9"

/b r   r   __main__)r   zidlelib.idle_test.test_historyF)	verbosityexitN)idlelib.configr   r   r>   unittestr    r   r   <module>rK      s6    $_ _D z	)QUC r   