06.57 Select from the Current Cursor Location to the Last Go Back Marker

DEFAULT

Ctrl+=

VISUAL BASIC 6

Ctrl+=

VISUAL C# 2005

Ctrl+=

VISUAL C++ 2

Ctrl+=

VISUAL C++ 6

Ctrl+=

VISUAL STUDIO 6

Ctrl+=

WINDOWS

[no shortcut]

COMMAND

Edit.SelectToLastGoBack

VERSIONS

2005, 2008, 2010

CODE

vstipEdit0069

In vstipEdit0024 (06.56 Navigate Backward and Navigate Forward Using Go Back Markers, on page 277), we defined Go Back markers. In this tip, we look at how they can be useful for selecting text. Let’s say you are writing some code and want to quickly select a chunk of text. In the following illustration, the cursor is at your starting location (line 15).

image with no caption

You click on ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.