Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Highlights when I don't select text

I just got into the office, and booted up my computer to work on my current project.

I hopped into a class file, and selected (through mouse highlighting) a group of events to delete.

What happened though was it only erased one character. Wondering what happened, I clicked at the beginning of the selection and re-highlighted the text to delete it again.

So i just clicked randomly in the middle of the file, and it highlighted from the beginning of the first selection all the way to where I clicked in the middle.

I have rebooted both VS, the computer and insured that sticky keys and all other "accessibility" software was turned off.

UPDATE

When I click shift and try to manually highlight with my arrow keys, the cursor doesn't even move.

UPDATE

When I click escape from the selection it goes to the search drop down: alt text http://img69.imageshack.us/img69/9591/searchbox.png

like image 750
Jeremy Boyd Avatar asked Dec 01 '25 09:12

Jeremy Boyd


2 Answers

The same thing happened to me, I held down the shift key for a few seconds then while still holding it down I clicked anywhere in the open page in Visual Studio, and voilá, my mouse click was back to normal.

I imagine I had unwittingly activated some kind of keyboard shortcut but not sure which

like image 122
System24 Tech Avatar answered Dec 04 '25 01:12

System24 Tech


I had this same problem too. I believe I found the solution: check your keyboard options.

Go under tools -> options, under the Environment subtree, click 'Keyboard'. Then, you will see a dropdown with the label "Apply the following additional keyboard mapping scheme". If you select "Brief" from this, you get the keyboard behavior as described. I'm not exactly sure what "Brief" refers to, but it certainly isn't familiar to me.

Change the keyboard layout back to (default) or another one to get the behavior you expect.

like image 25
Robert P Avatar answered Dec 03 '25 23:12

Robert P



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!