Skip to content

Cannot issue move command from one editor to the other if they are both on the same document #316

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

Closed
pokey opened this issue Nov 7, 2021 · 1 comment · Fixed by #382
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@pokey
Copy link
Member

pokey commented Nov 7, 2021

No description provided.

@pokey pokey added the bug Something isn't working label Nov 7, 2021
@pokey pokey added this to the 0.24.0 milestone Nov 7, 2021
@pokey pokey modified the milestones: 0.24.0, 0.25.0 Dec 7, 2021
@AndreasArvidsson AndreasArvidsson self-assigned this Dec 11, 2021
@AndreasArvidsson
Copy link
Member

As far as I can tell the problem is that the document is in two different editors. runForEachEditor() therefore runs twice and tries to perform edits on the same document. To solve this we should realize that both editors use the same document and group the edits by document not editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants