You can use drag and drop to move or copy text between Text Editor documents or other applications. You can also include a file into your document using drag and drop.
Select the text that you want to move.
With the pointer on the selection, press and hold mouse button 1, and drag to where you want to insert the text.
Release the mouse button.
The text is inserted into your document relative to the position of the drag icon.
Select the text you want to copy.
With the pointer on the selection, press and hold the Control key and mouse button 1, and drag to where you want to copy the text.
Release the Control key and mouse button.
The text is copied relative to the position of the drag icon.
When using drag and drop, the contents of the file are copied into the Text Editor window at the position of the insertion cursor. The original file remains intact.