+
     Bi-                         ^ RI t ^ RIHt  ! R R4      t ! R R4      t ! R R4      t ! R	 R
4      t ! R R4      t ! R R4      tR# )    N)TclErrorc                   &   a  ] tR t^
t o R tRtV tR# )Eventc                <    V P                   P                  V4       R # N)__dict__update)selfkwdss   &,0/usr/lib/python3.14/idlelib/idle_test/mock_tk.py__init__Event.__init__   s    T"     N)__name__
__module____qualname____firstlineno__r   __static_attributes____classdictcell____classdict__s   @r   r   r   
   s     # #r   r   c                   6   a  ] tR t^t o RR ltR tR tRtV tR# )VarNc                *    Wn         W n        W0n        R # r   )mastervaluename)r
   r   r   r   s   &&&&r   r   Var.__init__   s    
	r   c                    Wn         R # r   r   )r
   r   s   &&r   setVar.set#   s    
r   c                    V P                   # r   r!   r
   s   &r   getVar.get%   s    zzr   )r   r   r   NNN)	r   r   r   r   r   r"   r&   r   r   r   s   @r   r   r      s      r   r   c                   0   a  ] tR t^)t o RR ltR tRtV tR# )	Mbox_funcNc                    Wn         R # r   )result)r
   r,   s   &&r   r   Mbox_func.__init__0   s    r   c                J    Wn         W n        W0n        W@n        V P                  # r   )titlemessageargsr   r,   )r
   r/   r0   r1   r   s   &&&*,r   __call__Mbox_func.__call__2   s     
		{{r   )r1   r   r0   r,   r/   r   )r   r   r   r   r   r2   r   r   r   s   @r   r*   r*   )   s      r   r*   c                       ] tR t^;t]! 4       t]! 4       t]! 4       t]! 4       t]! 4       t	]! 4       t
]! 4       t]! 4       tRtR# )Mboxr   N)r   r   r   r   r*   askokcancelaskquestionaskretrycancelaskyesnoaskyesnocancel	showerrorshowinfoshowwarningr   r   r   r   r5   r5   ;   s<    2 +K+K[N{H[NI{H+Kr   r5   c                      a  ] tR t^^t o R/ 3R ltR tRR ltR tR tRR lt	RR lt
R	 tR
 tR tRR ltR tR tR tRR ltRtV tR# )TextNc                    R R.V n         R# ) 
Ndata)r
   r   cnfkws   &&&,r   r   Text.__init__k   s     J	r   c                6    R V P                  V^R7      ,          # )z%s.%s)endflag)_decoder
   indexs   &&r   rL   
Text.indexs   s    eQ777r   c                ^   \        V\        \        34      '       d   \        V4      p VP	                  4       p\        T P                  4      ^,
          pTR8X  d&   T\        T P                  T,          4      ^,
          3# TR8X  d   T P                  T4      # TP                  R4      w  rE\        T4      pT^8  d   R# YC8  d   T P                  T4      # \        T P                  T,          4      ^,
          pTP                  R4      '       g   TR8X  d   YF3# \        P                  ! RT\        P                  4      ;p'       d#   YF\        TP!                  ^4      4      ,
          3# \        T4      pT^ 8  d   ^ pYE3# YV8  d   TpYE3#   \
         d    \        R T,          4      Rhi ; i)zbad text index "%s"Ninsertend.z lineendz
end-(\d*)c)   r   )
isinstancefloatbytesstrlowerAttributeErrorr   lenrD   _endexsplitintendswithre	fullmatchAgroup)r
   rL   rI   lastlinelinechar
linelengthms   &&&     r   rJ   Text._decodew   s     eeU^,,JE	D++-E 		NQ&HS8!45999e^;;w''[[%
4y !8K_;;w''4)A-
==$$##]D"$$7717c!''!*o555 4y!8D z Dz?  	D0589tC	Ds   F F,c                    \        V P                  4      pV^8X  d   V^ 3# V^,          pV\        V P                  V,          4      V,           3# )rR   )rY   rD   )r
   rI   ns   && r   rZ   Text._endex   sG     		Na<a4KFAc$))A,''111r   c                   V'       g   R # VP                  R4      pVR,          R,          R8X  d   VP                  R4       V P                  VR4      w  r4V P                  V,          R V pV P                  V,          VR  pWR^ ,          ,           V P                  V&   VR,          V P                  V^,           V^,           % V P                  V\	        V4      ,           ^,
          ;;,          V,          uu&   R # )NTrB   rA   :rR   NN)
splitlinesappendrJ   rD   rY   )r
   rL   charsrc   rd   beforeafters   &&&    r   rO   Text.insert   s       &9R=D LL\\%,
4$'		$& 8+		$#(9		$q&a 		$s5z/!#$-$r   c                   V P                  V4      w  r4Vf   Y4^,           reMV P                  V4      w  rVW58X  d   V P                  V,          WF # V P                  V,          VR  .p\        V^,           V4       F%  pVP                  V P                  V,          4       K'  	  VP                  V P                  V,          R V 4       RP	                  V4      # )NrA   )rJ   rD   rangern   join)	r
   index1index2	startline	startcharendlineendcharlinesis	   &&&      r   r&   Text.get   s      $||F3	>(A+W#||F3G99Y'	::YYy))*56E9Q;0TYYq\* 1LL7+HW56775>!r   c                   V P                  VR4      w  r4Vfa   V\        V P                  V,          4      ^,
          8  d   Y4^,           reMBV\        V P                  4      ^,
          8  d   V^,           ^ reMR# V P                  VR4      w  rVW58X  dG   WF8  dA   V P                  V,          RV V P                  V,          VR ,           V P                  V&   R# W58  dp   V P                  V,          RV V P                  V,          VR ,           V P                  V&   V^,          p\        W5^,           4       F  pV P                  V K  	  R# R# )rR   Nrl   )rJ   rY   rD   rt   )r
   rv   rw   rx   ry   rz   r{   r}   s   &&&     r   deleteText.delete   s&     $||FB7	>3tyy34Q66#,kS^a//#,Q; #||FB7G I$7#'99Y#7
#C-1YYy-A'(-K$LDIIi  #'99Y#7
#C#'99W#5gh#?$@DIIi NI9ai0IIi( 1	 !r   c                   V P                  V4      w  rEV P                  V4      w  rgVR 8X  d   WF8  ;'       g    WF8H  ;'       d    WW8  # VR8X  d   WF8  ;'       g    WF8H  ;'       d    WW8*  # VR8X  d   WF8  ;'       g    WF8H  ;'       d    WW8  # VR8X  d   WF8  ;'       g    WF8H  ;'       d    WW8  # VR8X  d   WF8H  ;'       d    WW8H  # VR8X  d   WF8g  ;'       g    WW8g  # \        RV,          4      h)<z<=>z>=z==z!=z=bad comparison operator "%s": must be <, <=, ==, >=, >, or !=)rJ   r   )r
   rv   oprw   line1char1line2char2s   &&&&    r   compareText.compare   s    ||F+||F+9=DDEN$D$Du}D4Z=EEEN$E$Eu~E3Y=DDEN$D$Du}D4Z=EEEN$E$Eu~E4Z>44en44Z>44en4 HJLM N Nr   c                    R # r   r   )r
   r   rL   s   &&&r   mark_setText.mark_set      r   c                    R # r   r   )r
   	markNamess   &*r   
mark_unsetText.mark_unset      r   c                    R # r   r   )r
   tagNamerv   rw   s   &&&&r   
tag_removeText.tag_remove  r   r   c                    R # r   r   r
   xys   &&&r   scan_dragtoText.scan_dragto  r   r   c                    R # r   r   r   s   &&&r   	scan_markText.scan_mark!  r   r   c                    R # r   r   rK   s   &&r   seeText.see$  r   r   c                    R # r   r   )sequencefuncadds   &&&r   bind	Text.bind+  r   r   rC   )r   r   r(   )r   r   r   r   r   rL   rJ   rZ   rO   r&   r   r   r   r   r   r   r   r   r   r   r   r   s   @r   r?   r?   ^   s^      # 83j2."$)>N,)=1 r   r?   c                   &   a  ] tR tRt o R tRtV tR# )Entryi0  c                    R # r   r   r%   s   &r   	focus_setEntry.focus_set2  r   r   r   N)r   r   r   r   r   r   r   r   s   @r   r   r   0  s      r   r   )	r^   _tkinterr   r   r   r*   r5   r?   r   r   r   r   <module>r      sM    
 # #&	 	 $   FO Od r   