Closed shardulm94 closed 4 years ago
I guess it should be safe to remove the first on_activated listener.
class TrailingSpacesListener(sublime_plugin.EventListener): def on_modified(self, view): if trailing_spaces_live_matching: match_trailing_spaces(view) def on_activated(self, view): if trailing_spaces_live_matching: match_trailing_spaces(view) def on_selection_modified(self, view): if trailing_spaces_live_matching: match_trailing_spaces(view) def on_activated(self, view): self.freeze_last_version(view) if trailing_spaces_live_matching: match_trailing_spaces(view)
This is now fixed on master.
I guess it should be safe to remove the first on_activated listener.