A SERVICE OF

logo

Selecting text using the Edit menu
To select text using the Edit menu, choose one of the following four menu items.
1. Select Word - Selects the word under the text caret
2. Select Line - Selects the line under the text caret
3. Select Block - Selects a text block or extends an existing text block. The first line of the block of
text will be the line under the text caret. The IDE will use the indentation of the first line in the
block to determine where the block should end. If the IDE ends the block too soon and you would
like the block to be extended to include more lines then you can can choose Select Block from the
Edit menu again. NOTE: If the block reaches a line that is indented less then the first line in the
block then the block will not be extended any further.
4. Select All - Selects all of the text in the current file
3.8.2 Replacing a section of text
Sometimes you will want to replace a section of text with some other text. The Irie Pascal Integrated
Development Environment (the IDE) allows you replace sections of text.
The first step in replacing a section of text is to select it (see selecting text for more information). Then
you can either type in the new text, or you can paste the new text from the Windows clipboard. In either
case the selected text is deleted and replaced by the new text.
NOTE: Since it is possible to replace text by accident (all you have to do is forget that a section of text
has been selected, and type some more text or paste some text from the clipboard), it is a good idea to
unselect sections of text after you are finished working with them.
3.8.3 Moving a section of text
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.
Cutting Text
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.