Copy text from start_pos up to, but not including end_pos to the clipboard and then delete from the widget.
start_pos
end_pos
an EditableText
start position
end position