Udostępnij za pośrednictwem


Text Selection Shortcut Keys, Visual C++ 2.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.

Command name

Shortcut keys

Description

Edit.CharLeftExtend

SHIFT + LEFT ARROW

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

Edit.CharRightExtend

SHIFT + RIGHT ARROW

Moves the cursor to the right one character, extending the 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 + ] CTRL + SHIFT + M

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.LineEndExtend

SHIFT + END

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

Edit.LineStartExtend

SHIFT + HOME

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

Edit.LineUpExtend

SHIFT + UP ARROW

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

Edit.PageDownExtend

SHIFT + PAGE DOWN

Extends selection down one page.

Edit.PageUpExtend

SHIFT + PAGE UP

Extends selection up one page

Edit.WordNextExtend

CTRL + SHIFT + RIGHT ARROW

Extends the selection one word to the right.

Edit.WordPreviousExtend

CTRL + SHIFT + LEFT ARROW

Extends the selection one word to the left.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 2.0 Default Shortcut Keys