Files
atom/spec
Antonio Scandurra c1981ffb44 Correctly remove block decorations whose markers have been destroyed
In https://github.com/atom/atom/pull/15503 we mistakenly assumed
`marker.isValid` accounted only for the validity of the marker. However,
that method returns `false` also for markers that are valid but have
been destroyed. As a result, the editor component was mistakenly not
removing block decorations associated with such markers.

With this commit we will rely on the local `wasValid` variable instead.
If its value is `true`, it means that the block decoration has been
accounted for in the `lineTopIndex` and must, as a result, be cleaned up
in case the marker or the decoration gets destroyed.
2017-09-07 17:52:04 +02:00
..
2017-08-14 12:28:19 +02:00
2017-08-01 15:08:04 -04:00
2017-03-11 19:05:28 +01:00
2017-08-02 19:34:44 -04:00
2017-08-17 22:01:25 -04:00
2016-10-27 10:57:48 -07:00
2016-09-26 20:52:13 +03:00
2016-09-26 20:52:13 +03:00
2017-08-09 12:43:35 -04:00
👕
2016-12-22 16:39:40 -08:00