Replaces the current selection in the text editor with the contents of the clipboard.
The text pasted by the Paste method replaces the currently selected text, if any. If no text is selected, the new text is inserted at the caret position.
To select the specified text within the editor, use the TextEdit.Select method. You can also select all the text in the editor via the TextEditBase.SelectAll method. Use the TextEditBase.Cut method to copy the selected text to the clipboard while deleting it from the edit box. To copy the selection to the clipboard without deleting, use the TextEditBase.Copy method.