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

Don't add several listeners for each editor #36

Merged
merged 1 commit into from
May 27, 2022
Merged

Conversation

belcar-s
Copy link
Collaborator

@belcar-s belcar-s commented May 23, 2022

Related to, although not a solution for, #35.

The .onDidAddTextEditor callback is called initially for every opened editor, and that's documented!

Related to, although not a solution for, #35.
@sgwilym sgwilym merged commit 956a9fb into main May 27, 2022
@sgwilym sgwilym deleted the duplicate-listeners branch May 27, 2022 12:04
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.

None yet

2 participants