Visual Studio .NET Tips & Tricks

Helpful information for Visual Studio .NET developers

Tip: Select Block Text

Posted by Ion Toma on April 17, 2006

Normally, if we want to select several lines of text, this is done on line-by-line base.
With block selection, by holding the ALT key while dragging the cursor within the code window, we can select a rectangle, rather than selecting it line by line. We can call it vertical block selection. It can be very useful when we have to delete unnecessary text, like in the following example. Please take a look at the Flash Demonstration to see it in action.
BlockText_Image10

Flash Demonstration

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: