You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I selected a text range, the anchor move around. I disable all other extensions, but the question still exists.
I thought the question is in src/mirrorCursor.ts. the window.onDidChangeTextEditorSelection was called multiple times while I selected a text range. It's parallel.
Then in event handler, it calls exitMirrorMode which change selections.
So when I selected a range of text quickly, anchor will go back to the charator I selected before. And if I click on other position, the anchor will move around the whole page.
Activity
[-]Anchor move around[/-][+]Cursor move around[/+]fbricon commentedon Dec 14, 2019
@ciaranchen try toggling the cursor mirror mode with Ctrl+Shift+F2 (or Cmd+Shift+F2 on mac)
@NikolasKomonen @xorye when mirror mode is disabled, the event handler should be removed so as to avoid that.
fbricon commentedon Dec 14, 2019
This is really bad

daveb-501commons commentedon Dec 14, 2019
Happening for me as well - disabled the vscode-xml extension and all is working again
microsoft/vscode#86966 (comment)
eclipse-lemminx/lemminx#601
fbricon commentedon Dec 15, 2019
0.10.1 released, the mirror cursor editing has been temporarily removed
angelozerr commentedon Dec 15, 2019
Thanks @fbricon !