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).
Most of the time when editing text, you are working with individual characters. For example, when entering text with the keyoard you type each individual character. However sometimes you want to work with a section of text as a whole.
The first step in working with a section of text is to select it. You can use the mouse, keyboard, or Edit menu to select a section of text. After the text is selected, it can be replaced, moved, copied, deleted, printed, indented, unindented, and unselected
To select text by dragging the mouse pointer, do the following:
If the Double-click word search project option is not selected, (see environment options for details) then you can select a word by double-clicking on it. If you double-click on the word again then the line containing the word will be selected. If you double-click on the selected line then the IDE will select a block of text. The first line of the block of text will be the line that you double-clicked on. 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 double-click on the block 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.
To select text by dragging the text caret, do the following:
To select text using the Edit menu, choose one of the following four menu items.