[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Selecting Text

The IDE provides several ways to select text in an editor window.
You can select a word, a line, a range of text, or a rectangular portion of text. You can also select text by holding down the Shift key while pressing various key bindings.
To select a word, use this technique:
To select a line, use one of the following techniques:
Triple-click anywhere in the line
Move the cursor to the left edge of the editor window so that its icon changes to a right-pointing arrow, then click. (You must enable the Left margin click selects line checkbox in the Editor Settings preference panel in order to use this technique.)
To select a range of text, use one of the following techniques:
Drag the cursor over the contiguous range of text that you wish to select, then release the cursor
Move the text-insertion point to the beginning of your desired selection, then press the Shift key while clicking the end of your desired selection. The IDE selects everything between the starting and ending points, inclusive.
Move the cursor to the left edge of the editor window so that its icon changes to a right-pointing arrow, then click and drag the cursor to select lines of text. (You must enable the Left margin click selects line checkbox in the Editor Settings preference panel in order to use this technique.)
Mac OS
You can select parts of text identifiers by holding down the Control key while using the left or right arrow keys, or when double-clicking. For example, double-clicking between the two "m" characters in FindCommandStatus() would result in the word Command being selected.
To select a rectangular portion of text, use one of the following techniques:
Windows, Solaris, and Linux
Hold down the Ctrl key while dragging the cursor.
Mac OS
Hold down the Command key while dragging the cursor.
To select an entire routine in the editor window, press the Shift key while selecting the name of the routine from the Function Pop-Up Menu. This technique is particularly useful for copy-and-paste operations, or for using drag-and-drop operations to move code.
The Customize IDE Commands window lists the keyboard shortcuts, or key bindings, available for selecting text. For more information about the window, see "Customizing Key Bindings".
For more information about using drag-and-drop with text, see the next section, "Moving Text (Drag and Drop)."
You can also select blocks of code by using the Balance command. To learn more, see "Balancing Punctuation".
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 17, 2000