Visual Studio bug when deleting a line with word wrap enabled

John Avis 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.
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

Computers & Internet Web Development Website Hosting

500 Internal Server Error after migrating from IIS 7.5 to IIS 10

by John Avis | November 4, 2019

As support ends for Microsoft Windows Server 2008 I have recently gone through migrating some websites to a new server running Windows Server 2016 and IIS 10 but some of the websites did not work.


Jquery/Javascript Web Development

tagInput: A simple jQuery plugin for tag entry using Bootstrap 4

by John Avis | October 15, 2019

For a website project I needed a way to enter multiple tags. I just wanted something simple that I could easily modify to suit my own needs, so I wrote my own.


ASP.NET Web Forms Web Development

ASP.NET bug with RadioButton GroupName in Repeater

by John Avis | September 1, 2019

I rediscovered a bug in ASP.NET that affects RadioButtons inside repeaters. Here is my solution to the problem.

Comments

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

Leave a Comment

Tags

About me

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

Subscribe

Get the latest posts delivered to your inbox.