Support the copy all function to copy all text by didn't select text.