Files
atom/spec
Antonio Scandurra 1091b0eb60 Fix decorations flashing more than once
When, after flashing a decoration, the decorated range moved, Atom was
showing an additional flash, even if the previous one had already been
consumed. This bug originated in `HighlightsComponent`, where we
maintained state about a certain highlight's flash count. The problem
with this approach, however, is that highlight objects in the component
are very volatile, and we could even have more than one for a single
decoration (i.e. when such decoration spans multiple tiles).

To fix this, we'll now maintain some additional state in
`TextEditorPresenter`, which will set a `needsFlash` attribute on the
highlight state objects, thereby preventing `HighlightsComponent` from
showing the flash animation more than once when the decorated range
changes.
2016-10-07 10:40:41 +02:00
..
2016-08-25 22:44:57 -04:00
🎨
2016-03-25 16:37:01 +01:00
📝
2016-04-14 14:19:09 +00:00
2016-09-26 20:52:13 +03:00
2016-09-26 20:52:13 +03:00
2016-09-26 20:52:13 +03:00
2016-09-26 20:52:13 +03:00
2016-05-25 11:02:29 +02:00
2016-09-26 20:52:13 +03:00
2016-09-26 20:52:13 +03:00
2016-03-01 10:56:03 -05:00
2016-09-26 20:52:13 +03:00