Deletes the designated area of text.
As with all editing functions, 0 denotes the beginning of the string, and -1 the end position.
delete_text() also causes the signal of the same name to be emitted.