{"id":2963,"date":"2009-10-26T11:14:00","date_gmt":"2009-10-26T11:14:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2009\/10\/26\/box-selection-and-multi-line-editing\/"},"modified":"2020-07-16T01:04:02","modified_gmt":"2020-07-16T08:04:02","slug":"box-selection-and-multi-line-editing","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/box-selection-and-multi-line-editing\/","title":{"rendered":"Box Selection and Multi-Line Editing"},"content":{"rendered":"<p><img decoding=\"async\" title=\"clip_image002\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2009\/10\/clip_image002_3.jpg\" alt=\"clip_image002\" width=\"50\" height=\"66\" align=\"left\" border=\"0\" \/>I\u2019m Brittany, a Program Manager on the Visual Studio Editor team.\u00a0 Some of you may recognize me from <a title=\"Microsoft Connect: Visual Studio\" href=\"http:\/\/connect.microsoft.com\/VisualStudio\" target=\"_blank\" rel=\"noopener noreferrer\">Connect bugs<\/a>, <a title=\"Visual Studio Editor (VSEditor) on Twitter\" href=\"https:\/\/twitter.com\/VSEditor\" target=\"_blank\" rel=\"noopener noreferrer\">@VSEditor on Twitter<\/a>, or the <a title=\"Visual Studio Editor blog\" href=\"http:\/\/blogs.msdn.com\/vseditor\" target=\"_blank\" rel=\"noopener noreferrer\">Visual Studio Editor blog<\/a>, which has recently moved to its new home here at <a title=\"The Visual Studio Blog\" href=\"http:\/\/blogs.msdn.com\/visualstudio\" target=\"_blank\" rel=\"noopener noreferrer\">The Visual Studio Blog<\/a>.\u00a0 I\u2019m responsible for a variety of Editor features, but most recently I designed the new-for-VS 2010 multi-line editing functionality in this post and video.<\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=qp2WuJ2rEE4\" target=\"_new\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter\" style=\"border-style: none;\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/02\/video5e052dca4a3e.jpg\" alt=\"\" \/> <\/a>\nBox selection is back and better than ever for Visual Studio 2010 Beta2!\u00a0 You can of course make, copy\/paste, drag\/drop, and delete box selections, just as in VS 2008.\u00a0 But that\u2019s not all.\u00a0 For the first time, you can also insert and edit text on multiple lines.\u00a0 Check out this video we\u2019ve created to demo the new Box Selection and Multi-Line Editing functionality (this demo has video and audio, so plug in your headphones or turn up the sound):<\/p>\n<p>We\u2019ve also made a few changes to box selection that didn\u2019t quite make it into Beta2:<\/p>\n<ul>\n<li>In Beta2, indenting a box selection will indent the entire lines containing that box selection.\u00a0 We have since changed it to indent only the box-selected text, which matches VS 2008 behavior.<\/li>\n<li>In Beta2, pasting a box selection on a blank line will interleave the box-selected text with existing text.\u00a0 We have since changed it to paste the box selection with newlines instead of interleaving, which matches VS 2008 behavior.<\/li>\n<\/ul>\n<p>This is box selection\u2019s first appearance in VS 2010 and multi-line editing\u2019s Visual Studio debut, so we\u2019d love to hear your feedback!\u00a0 You can use any of several ways to share your thoughts, either about box selection or regarding other aspects of the Beta2 editor experience:<\/p>\n<ul>\n<li>Post feedback in the <a title=\"MSDN Forums: Visual Studio 2010 Beta 2\" href=\"http:\/\/social.msdn.microsoft.com\/Forums\/en-US\/category\/visualstudioprerelease\" target=\"_blank\" rel=\"noopener noreferrer\">Beta2 forums<\/a><\/li>\n<li><a title=\"Microsoft Connect: Visual Studio\" href=\"http:\/\/connect.microsoft.com\/VisualStudio\">File a bug or suggestion<\/a> for any issues you find<\/li>\n<li>Follow and\/or contact <a title=\"Visual Studio Editor (VSEditor) on Twitter\" href=\"https:\/\/twitter.com\/VSEditor\">@VSEditor on Twitter<\/a><\/li>\n<li>Leave a comment on this blog post<\/li>\n<\/ul>\n<p>Whichever method you choose, I hope you\u2019ll let us know what you think!<\/p>\n<p>Brittany Behrens\nProgram Manager, Visual Studio Editor Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019m Brittany, a Program Manager on the Visual Studio Editor team.\u00a0 Some of you may recognize me from Connect bugs, @VSEditor on Twitter, or the Visual Studio Editor blog, which has recently moved to its new home here at The Visual Studio Blog.\u00a0 I\u2019m responsible for a variety of Editor features, but most recently I [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[137,13],"class_list":["post-2963","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-html","tag-visual-studio-2010"],"acf":[],"blog_post_summary":"<p>I\u2019m Brittany, a Program Manager on the Visual Studio Editor team.\u00a0 Some of you may recognize me from Connect bugs, @VSEditor on Twitter, or the Visual Studio Editor blog, which has recently moved to its new home here at The Visual Studio Blog.\u00a0 I\u2019m responsible for a variety of Editor features, but most recently I [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/2963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=2963"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/2963\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=2963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=2963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=2963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}