Skip to content

Cursor move around #211

@ciaranchen

Description

@ciaranchen

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.

Sorry for my poor English. I have tried.

屏幕录制2019-12-14下午12 25 38

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions