Splits the tag at the caret.