Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stopping mouse selection in Visual Studio

I don't know what key combination I did, but now each time I click somewhere in the page, Visual Studio selects the text between first and second mouse click.

I tried to escape from this "selection mode", but nothing helps, nor Escape, nor left clicks, nor Ctrl+Up/Down. I opened another VS window and there is all right - normal selection.

What is it, how to cancel it, what is it for?

I should probably restart Visual Studio. I remember that that happened some times ago in VS 2005. Very annoying VS "feature".

P.S. It disappeared as suddenly as it appeared, but I found similar problem described here. The guy says that "The only way to stop is to press escape or shift and an arrow key."

like image 335
serhio Avatar asked Nov 27 '10 22:11

serhio


2 Answers

I have very often the same issue, just after stopping the debugger. No idea how it starts... But I found the key combination to stop it: Press "Alt Gr"+"Ctrl(right)"+"Shift(right)"

like image 66
Valery Letroye Avatar answered Oct 14 '22 11:10

Valery Letroye


I figured out how to turn this issue on and off: Just press the ins (Insert) key; If you're using a full sized keyboard it will be to the right of backspace and above delete or if you're using a smaller keyboard it'll be the second option of zero key on the number pad to the right of the right arrow key.

like image 40
Daniel Avatar answered Oct 14 '22 11:10

Daniel