Visual Studio bug when deleting a line with word wrap enabled

johna by | May 30, 2014 | Web Design Web Development

I have put up with a bug in Visual Studio for some time, but recently finally got around to reporting it. I need your vote to get this bug fixed.

When word wrap is enabled, if you use CTRL+X to delete a line that spans more than one on screen line, and your cursor is positioned on the first on screen line, it removes the first on screen line but leaves subsequent parts of the line and moves them up to the end of the previous line to the one deleted. This does not seem right. Deleting a line should delete the entire line even if it spans multiple on screen lines when word wrap is enabled.

Steps to reproduce:

Enable word wrap, create several lines of code, in the middle of the code add a line that spans multiple on screen lines, position cursor on the first line of that line, press CTRL+X

Because this bug has existed for so long, the Visual Studio team is reluctant to fix it unless users vote to fix it.

You can read more and vote at visualstudio.uservoice.com.

For more information including Microsoft's response see connect.microsoft.com.

While we are at it, there's a feature required in SQL Management Studio that is sorely needed. For those who who use Always On it is very frustrating that SMS does not remember the vital setting for connecting to an Always On enabled database.

For more information and to support this feature you please visit connect.microsoft.com.

Related Posts

Web Development

How to set up a debugging using the Turnkey Linux LAMP stack and VS Code

by johna | December 19, 2023
The second part in my guide to setting up a website and database using the Turnkey Linux LAMP stack.

Website Hosting Web Development

How to set up a website and database using the Turnkey Linux LAMP stack

by johna | November 18, 2023
If you need to host your own website for the purposes of web development, Turnkey Linux LAMP Stack is an easy to install all-in-one solution that you can set up on a spare computer or a VM (Virtual Machine).

Web Development

Intermittent "Unable to read data from the transport connection: net_io_connectionclosed" errors

by johna | May 6, 2020
If you are having intermittent problems sending email in .NET using System.Net.Mail consider switching libraries.

Comments

There are no comments yet. Be the first to leave a comment!

Leave a Comment

About

...random postings about web development and programming, Internet, computers and electronics topics.

I recommend ASPnix for web hosting and Crazy Domains for domain registration.

Subscribe

Get the latest posts delivered to your inbox.