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

Closing a TextEditor wipes all messages for that file #1510

Closed
Arcanemagus opened this issue Jul 13, 2017 · 1 comment
Closed

Closing a TextEditor wipes all messages for that file #1510

Arcanemagus opened this issue Jul 13, 2017 · 1 comment

Comments

@Arcanemagus
Copy link
Collaborator

When you close a TextEditor instance it seems that linter is removing all messages associated with that TextEditor which is great if that was the only instance of that file open.

If however there are multiple TextEditors open to a single file (TextBuffer), then the messages are cleared on the other TextEditors and need another lint() call to recreate them.

Steps to reproduce:

  1. Open a file, create some linter messages in it
  2. Split the file into multiple editors
  3. Close the second one of them

Expected:
The first instance on the file still shows the same messages it did before the second instance was closed.

Actual:
The messages are cleared from the first instance, requiring lint to re-run to recreate them.

Seen with:

  • linter-ui-default
  • linter-ui-plus
  • atom-minimap-linter
@steelbrain
Copy link
Owner

This has been fixed in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants