Udostępnij za pośrednictwem


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

Use the following shortcut key combinations in text editors to move 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.CharLeft

LEFT ARROW

Moves the cursor one character to the left.

Edit.CharRight

RIGHT ARROW

Moves the cursor one character to the right.

Edit.DocumentEnd

CTRL + END

Moves the insertion point to the last line of the document.

Edit.DocumentStart

CTRL + HOME

Moves the insertion point to the first line of the document.

Edit.GoTo

CTRL + G

Displays the Go To Line dialog box.

Edit.GotoBrace

CTRL + ]

Moves the insertion point to the next brace in the document.

Edit.LineDown

DOWN ARROW

Moves the cursor down one line.

Edit.LineEnd

END

Moves the cursor to the end of the current line.

Edit.LineStart

HOME

Moves the cursor to the beginning of the line.

Edit.LineUp

UP ARROW

Moves the cursor up one line.

Edit.NextBookmark

F2 CTRL + K, CTRL + N

Moves to the next bookmark in the document.

Edit.PageDown

PAGE DOWN

Scrolls down one screen in the editor window.

Edit.PageUp

PAGE UP

Scrolls up one screen in the editor window.

Edit.PreviousBookmark

SHIFT + F2 CTRL + K, CTRL + P

Moves to the previous bookmark.

Edit.QuickInfo

CTRL + K, CTRL + I

Displays Quick Info, based on the current language.

Edit.ScrollLineDown

CTRL + DOWN ARROW

Scrolls text down one line. Available in text editors only.

Edit.ScrollLineUp

CTRL + UP ARROW

Scrolls text up one line. Available in text editors only.

Edit.ShowTileGrid

Ctrl + Shift + G

Exposes the tile grid. Available in text editors only.

Edit.WordNext

CTRL + RIGHT ARROW

Moves the insertion point to the right one word.

Edit.WordPrevious

CTRL + LEFT ARROW

Moves the insertion point to the left one word.

View.BrowseNext

CTRL + NUM +

CTRL + SHIFT + 1

Displays the next symbol reference or definition.

View.BrowsePrevious

CTRL + NUM –

CTRL + SHIFT + 2

Displays the previous symbol reference or definition.

See Also

Tasks

How to: Work with Keyboard Shortcuts

Concepts

Pre-defined Keyboard Shortcuts

Other Resources

Visual C++ 6.0 Default Shortcut Keys