+
    <i  c                   sB    ^ RI 5 ^ RIHt ^ RI5 R.t ! R R]4      tR# )i    )Z*)AtspiEditableTextc                   sH   a  ] tR t^t o RtR tR tR tR tR t	R t
RtV tR	# )
r   z
Derived from interface Text, EditableText provides methods for
modifying textual content of components which support editing.
EditableText also interacts with the system clipboard via copyText,
cutText, and pasteText.
c                V    \         P                  P                  V P                  W4      # )z
Copy a range of text into the system clipboard. 
@param : startPos
the character offset of the first character in the range of text
being copied. 
@param : endPos
the offset of the first character past the end of the range of
text being copied.
)r    r   Z	copy_textobjselfZstartZend   &&&9/usr/lib/python3.14/site-packages/pyatspi/editabletext.pycopyTextZEditableText.copyText!   s!     ))33DHHeII    c                r   )aR  
Excise a range of text from a Text object, copying it into the
system clipboard. 
@param : startPos
the character offset of the first character in the range of text
being cut. 
@param : endPos
the offset of the first character past the end of the range of
text being cut. 
@return True if the text was successfully cut, False otherwise.
)r    r   Zcut_textr   r   r   r   cutTextZEditableText.cutText-   s!     ))22488UHHr	   c                r   )ae  
Excise a range of text from a Text object without copying it
into the system clipboard. 
@param : startPos
the character offset of the first character in the range of text
being deleted. 
@param : endPos
the offset of the first character past the end of the range of
text being deleted. 
@return True if the text was successfully deleted, False otherwise.
)r    r   Zdelete_textr   r   r   r   
deleteTextZEditableText.deleteText;   s!     ))55dhhKKr	   c                sX    \         P                  P                  V P                  WV4      # )aK  
Insert new text contents into an existing text object at a given
location, while retaining the old contents. 
@param : position
the character offset into the Text implementor's content at which
the new content will be inserted. 
@param : text
a UTF-8 string of which length characters will be inserted into
the text object's text buffer. 
@param : length
the number of characters of text to insert. If the character
count of text is less than or equal to length, the entire contents
of text will be inserted.
@return True if the text content was successfully inserted, False
otherwise.
)r    r   Zinsert_textr   )r   positionZtextZlengths   &&&&r   
insertTextZEditableText.insertTextI   s$    " ))55dhhPVWWr	   c                V    \         P                  P                  V P                  V4      # )a#  
Copy the text contents of the system clipboard, if any, into
a Text object, inserting it at a particular character offset.
@param : position
the character offset before which the text will be inserted.
@return True if the text was successfully pasted into the Text
object, False otherwise.
)r    r   Z
paste_textr   )r   r      &&r   	pasteTextZEditableText.pasteText\   s!     ))44TXXxHHr	   c                r   )z
Replace the text contents with a new string, discarding the old
contents.
@param : newContents
a UTF-8 string with which the text object's contents will be
replaced. 
@return True if the text content was successfully changed, False
otherwise.
)r    r   Zset_text_contentsr   )r   Zcontentsr   r   setTextContentsZEditableText.setTextContentsg   s!     ));;DHHhOOr	    N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r
   r   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s4     	
	J	I	L	X&		I
	P 
	Pr	   N)Zpyatspi.textZgi.repositoryr    Zpyatspi.utilsZ__all__ZTextr   r   r	   r   <module>r      s,       XP4 XPr	   