Share via


Text Selection Shortcut Keys, Visual C++ 6.0 Default Shortcut Option

Use the following shortcut key combinations in text editors to select text in an open document.

Note

The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Note

To see a list of shortcut keys that have changed or are no longer supported in Visual C++ .NET, see Obsolete Visual C++ 6.0 Key Commands and Changes to Visual C++ 6.0 Key Commands.

Command name

Shortcut keys

Description

Edit.CharLeftExtend

SHIFT + LEFT ARROW

Moves the cursor to the left one character, extending the selection.

Edit.CharLeftExtendColumn

SHIFT + ALT + LEFT ARROW

Moves the cursor to the left one character, extending the column selection.

Edit.CharRightExtend

SHIFT + RIGHT ARROW

Moves the cursor to the right one character, extending the selection.

Edit.CharRightExtendColumn

SHIFT + ALT + RIGHT ARROW

Moves the cursor to the right one character, extending the column selection.

Edit.DocumentEndExtend

CTRL + SHIFT + END

Selects the text from the insertion point to the last line of the document.

Edit.DocumentStartExtend

CTRL + SHIFT + HOME

Selects the text from the insertion point to the first line of the document.

Edit.GotoBraceExtend

CTRL + SHIFT + ]

Moves the insertion point to the next brace, extending the selection.

Edit.LineDownExtend

SHIFT + DOWN ARROW

Extends text selection down one line, starting at the location of the insertion point.

Edit.LineDownExtendColumn

SHIFT + ALT + DOWN ARROW

Moves the cursor down one line, extending the column selection.

Edit.LineEndExtend

SHIFT + END

Selects text from the insertion point to the end of the current line.

Edit.LineEndExtendColumn

SHIFT + ALT + END

Moves the insertion point to the end of the line, extending the column selection.

Edit.LineStartExtend

SHIFT + HOME

Selects text from the insertion point to the start of the line.

Edit.LineStartExtendColumn

SHIFT + ALT + HOME

Moves the insertion point to the start of the line, extending the column selection.

Edit.LineUpExtend

SHIFT + DOWN ARROW

SHIFT + UP ARROW

Selects text up line by line starting from the location of the insertion point.

Edit.LineUpExtendColumn

SHIFT + ALT + UP ARROW

Moves the cursor up one line, extending the column selection.

Edit.PageDownExtend

SHIFT + PAGE DOWN

Extends selection down one page.

Edit.PageUpExtend

SHIFT + PAGE UP

Extends selection up one page.

Edit.SelectAll

CTRL + A

Selects everything in the current document.

Edit.SelectCurrentWord

CTRL + W

Selects the word containing the insertion point or the word to the right of the insertion point.

Edit.SelectToLastGoBack

CTRL + =

Select from the current location in the editor back to the previous location in the editor.

Edit.ViewBottomExtend

CTRL + SHIFT + PAGE DOWN

Moves the cursor to the last line in view, extending the selection.

Edit.ViewTopExtend

CTRL + SHIFT + PAGE UP

Extends the selection to the top of the current window.

Edit.WordNextExtend

CTRL + SHIFT + RIGHT ARROW

Extends the selection one word to the right.

Edit.WordNextExtendColumn

CTRL + SHIFT + ALT + RIGHT ARROW

Moves the cursor to the right one word, extending the column selection.

Edit.WordPreviousExtend

CTRL + SHIFT + LEFT ARROW

Extends the selection one word to the left.

Edit.WordPreviousExtendColumn

CTRL + SHIFT + ALT + LEFT ARROW

Moves the cursor to the left one word, extending the column selection.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 6.0 Default Shortcut Keys