AtomLinter / atom-minimap-linter

Atom package to display linter markers on minimap
MIT License
26 stars 6 forks source link

Remove messages from all bindings #24

Closed Arcanemagus closed 7 years ago

Arcanemagus commented 7 years ago

Properly queue up messages for removal, and then remove from all bindings at once. Before this it was possible for a message to be removed from one binding and then get "stuck" in other bindings as it was already marked as removed.

Before this you could get a message "stuck" by:

  1. Open a file
  2. Trigger a message on the file
  3. Split the file so there are two instances open for it
  4. Trigger a second, new, message in the file
  5. Fix both messages
  6. Note that the initial message is still showing for the second view on the file