These commands will create an extended selection or extend an existing selection. The keystrokes listed are the defaults.
Command |
Key |
Description |
Select All |
Hold down Ctrl and click the mouse in the selection bar at the left. |
Select the whole file. |
Select Block |
Ctrl+- |
Selects the next smallest enclosing set of braces or parentheses. |
Select Function Or Symbol |
Double-click in selection bar at the left of edge of the window |
Select the whole enclosing symbol definition. |
Select Char Left |
Shift+Left |
Extends selection to the left by one character. |
Select Char Right |
Shift+Right |
Extends selection to the right by one character. |
Select Line |
Shift+F6 |
Selects whole line. |
Select Line Down |
Shift+Down |
Extends selection down a line. |
Select Line Up |
Shift+Up |
Extends selection up by a line. |
Select Match |
Alt+= |
Selects up to the matching brace, parentheses, or quote mark. |
Select Sentence |
Shift+F7, Ctrl+. |
Selects whole sentence (up to the next period). |
Select Word |
Shift+F5, and Double-click L. Mouse |
Selects whole word. |
Select Word Left |
Ctrl+Shift+Left |
Extends selection to include the whole word on the to the left. |
Select Word Right |
Ctrl+Shift+Right |
Extends selection to include the whole word on the to the Right. |
Select To |
Shift+L. Mouse |
Extends the selection to the current mouse location. This is assigned to the mouse. |
Select To Top Of File |
Shift+Home |
Selects up to the beginning of the file. |
Select To End Of File |
Shift+End |
Selects up to the end of the file. |
Select To End Of Line |
|
Selects up the end of the current line. |
Toggle Extend Mode |
|
When on, movement keys extend the selection. |
The Toggle Extend Mode command toggles Extend Mode on and off. When Extend Mode is on and you use a movement command, such as Cursor Left, the current selection is extended in that direction.