Kronuz/SublimeLinter — Issue #79: make BackgroundLinter update regions in all open views, rather than just the first one
Author: glyph
Created: 2012-01-17 20:10:14+00:00
State: open

BackgroundLinter handles the on_modified event, which, as per the sublime text API reference, "... [is] triggered by the buffer underlying the view, and thus the method is only called once, with the first view as the parameter."

The effect of this is that if you have two views on the same file, side-by-side, only the one on the left will have lint markers in it.

BackgroundLinter should look up other views displaying the same buffer and update them as well, without re-running the lint command for each one (because they will all have the same contents).