Deletes the character that follows the current caret position from the
text if there is no selection, or deletes the selection if there is one.
This function returns true if the deletion succeeded, false otherwise.
Returns: true if the deletion succeeded, false otherwise