When the shift key is pressed and released, selection still occurs on subsequent cursor movement.
To duplicate: right click and go into code editor from any control. Press the Shift key and release. Press down arrow key. The code will get highlighted, but it shouldn't be.