Unable to deselect text in the IDE text editor

When I select text in the editor and then want to deselect it, the selection won't go away. The selection is supposed to go away when I click anywhere in the window but all it does is move the end of the selection to the cursor position. Double clicking and pressing Esc don't work either. The only way I've found to deselect text is to close the window. What setting to I need to use to be able to deselect text


Answer this question

Unable to deselect text in the IDE text editor

  • Hoahai

    I have the same problem - in my case it is related to using Brief emulation in the keyboard selection. Must be something to do with start and end anchors. When I revert to the (default), the selection process goes back to normal.

    I've spent the last 20 years or so using Brief, so I hate to stop, but the emulation in VS seems to get worse with every release.


  • mmDamonCarr

    No, my shift key is not pressed. When I type, lower case letters come out. And pressing the shift key does the exact same thing as not pressing it.

  • Ian Mellors

    That is strange, I just tried that and it works as expected. Selecting a text and then clicking somewhere else deselects the text. The behavior you are getting looks like as if your "shift" button is somehow pressed. Could you make sure that you keyboard "shift" button is not pressed.

    Thanks,
    Ayman Shoukry
    VC++ Team


  • s441

    Could you log the issue at http://lab.msdn.microsoft.com/productfeedback/default.aspx. I am sure the owerns would like to have a deeper look into the issue.

    Thanks,
    Ayman Shoukry
    VC++ Team


  • the Wolf

     Ricky Bennett wrote:
    When I select text in the editor and then want to deselect it, the selection won't go away.  The selection is supposed to go away when I click anywhere in the window but all it does is move the end of the selection to the cursor position.  Double clicking and pressing Esc don't work either.  [ ... ] What setting to I need to use to be able to deselect text

    I've seen this too, running VC++ 2005 Express Edition under Microsoft Windows XP Tablet PC Edition 2005.

    But the ESC key always gets me out of it.  I am not sure what the triggering condition is.  I just tried to make it happen on a little program file and I couldn't.  I can believe that it is something that happens quickly and that confuses shift state, as Ayman suggests.

    I'll be more attentive in the future and see if there is a clue what I am doing when it happens.  My Text Editor settings in Tools | Options are the default ones for General text editing.  I have also specified that tabs be turned into spaces and that { ... } don't have to line up vertically.

     



  • Unable to deselect text in the IDE text editor