NOTE: The term current file is used below to mean the file in the active text editor window (or in other words the file you are currently editing).
Sometimes you will want to move a section of text (i.e. remove the text from one place and put it somewhere else). The Irie Pascal Integrated Development Environment (the IDE) allows you to move sections of text. The first step in moving sections of text is to select the section of text you want to move (see selecting text for more information). The next step is to cut the selected text (i.e. move the text into the Windows clipboard). The next step is to paste the text where you want to put it (i.e. copy the text from the Windows clipboard to the place you want to put it). NOTE: A copy of the text remains in the Windows clipboard even after you paste it. NOTE: Remember to unselect the section of text (See unselecting text for more information) when you are done.
You can cut text by using the the keyboard or by using the Edit menu. To cut text using the keyboard, press Ctrl-X, or Shift-Delete (i.e. hold down the Ctrl key and press the X key, or hold down the Shift key and press the Delete key). You can also cut text by choosing Cut from the Edit menu. No matter what method you prefer the result is the same, any selected text in the current file is removed and stored in the Windows clipboard. If no text has been selected, in the current file, then attempting to cut text has no effect on the file or on the Window clipboard. NOTE: Many Windows applications can retrieve text from the Windows clipbaord, so you can use this method to move text into another application.
You can paste text by using the the keyboard or by using the Edit menu. To paste text using the keyboard, press Ctrl-V, or Shift-Insert (i.e. hold down the Ctrl key and press the V key, or hold down the Shift key and press the Insert key). You can also paste text by choosing Paste from the Edit menu. No matter what method you prefer the result is the same, any text in the Windows clipboard is copied into the current file. If there is selected text in the current file then the text from the clipboard will replace the selected text in the file. If there is no selected text in the current file then the text from the clipboard will be inserted into the current file at the text caret position. If there is no text in the clipboard then attempting to paste text has no effect. NOTE: Many Windows applications allow you to put text into the Windows clipbaord, so you can use this method to retrieve text from another application.