Udostępnij za pośrednictwem


Text Selection Shortcut Keys, Visual Basic 6.0 Default Shortcut Option

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

Command

Shortcut Keys

Description

Edit.CharLeftExtend

SHIFT + LEFT ARROW

Moves the cursor left one character, extending the selection.

Edit.CharLeftExtendColumn

SHIFT + ALT + LEFT ARROW

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

Edit.CharRightExtend

SHIFT + RIGHT ARROW

Moves the cursor right one character, extending the selection.

Edit.CharRightExtendColumn

SHIFT + ALT + RIGHT ARROW

Moves the cursor 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.LineUpExtend

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 + =

Selects 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 or document.

Edit.WordNextExtend

CTRL + SHIFT + RIGHT ARROW

Extends the selection one word to the right.

Edit.WordNextExtendColumn

CTRL + SHIFT + ALT + RIGHT ARROW

Moves the cursor 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 left one word, extending the column selection.

See Also

Tasks

How to: Work with Shortcut Key Combinations

Reference

Text Navigation 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