cut_text


Description:

public bool cut_text (int start_pos, int end_pos) throws Error

Deletes text from an EditableText object, copying the excised portion into the system clipboard.

see: paste_text

Parameters:

this

a pointer to the EditableText object to modify.

start_pos

a int indicating the starting character offset of the text to cut.

end_pos

a int indicating the offset of the first character past the end of the text section to be cut.

Returns:

TRUE if operation was successful, FALSE otherwise.