Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syncCursors() will update all internal cursors #4569

Merged
merged 6 commits into from
Feb 25, 2020

Conversation

cvaldev
Copy link
Contributor

@cvaldev cvaldev commented Feb 20, 2020

What this PR does / why we need it:
This PR makes it so all vimState cursor positions correctly represent VSCode's rather than only updating the main cursor.

Before this PR the extension would update all cursors only after a command was executed which could cause issues when using different number of cursors on a split editor and performing an action immediately after switching windows.

Which issue(s) this PR fixes
Fixes #4553

Special notes for your reviewer:
All feedback is welcomed.

src/mode/modeHandler.ts Outdated Show resolved Hide resolved
@cvaldev cvaldev requested a review from J-Fields February 25, 2020 17:43
Copy link
Member

@J-Fields J-Fields left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cvaldev!

@J-Fields J-Fields merged commit 8cda7f0 into VSCodeVim:master Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multicursor issues on split window
2 participants