Share via


Text Navigation Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

The following shortcut key combinations can be used in text editors to move within an open document.

Command

Shortcut Keys

Description

Edit.CharLeft

LEFT ARROW

Moves the cursor left one character.

Edit.CharRight

RIGHT ARROW

Moves the cursor right one character.

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

CTRL + ]

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

Edit.GoToDeclaration

CTRL + ALT + F12

Displays the definition of the selected symbol in the code.

Edit.GoToDefinition

SHIFT + F2

Displays the declaration for the selected symbol in code.

Edit.LineDown

DOWN ARROW

Moves the insertion point down one line.

Edit.LineEnd

END

Moves the insertion point to the end of the line.

Edit.LineStart

HOME

Moves the insertion point to the beginning of the line.

Edit.LineUp

UP ARROW

Moves the insertion point up one line.

Edit.PageDown

PAGE DOWN

Scrolls the document down one page.

Edit.PageUp

PAGE UP

Scrolls the document up one page.

Edit.PreviousBookmark

CTRL + K, CTRL + P

Moves to the previous bookmark.

Edit.ScrollLineDown

CTRL + DOWN ARROW

Scrolls text down one line.

Edit.ScrollLineUp

CTRL + UP ARROW

Scrolls text up one line.

Edit.ToggleWordWrap

CTRL + R, CTRL + R

Enables or disables word wrap in an editor.

Edit.ViewBottom

CTRL + PAGE DOWN

Moves to the bottom of the current document.

Edit.ViewTop

CTRL + PAGE UP

Moves to the top of the current window or document.

Edit.WordNext

CTRL + RIGHT ARROW

Moves the insertion point right one word.

Edit.WordPrevious

CTRL + LEFT ARROW

Moves the insertion point left one word.

View.ViewCode

F7

Displays the selected item in Code view of the Editor.

View.ViewDesigner

SHIFT + F7

Displays the selected item in Design view of the Editor.

See Also

Tasks

How to: Work with Shortcut Key Combinations

Reference

Text Selection Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

Text Manipulation Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

Other Resources

Visual Basic 6.0 Default Shortcut Keys