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-09-15 16:33:04 -07:00
2016-09-07 13:03:33 +02:00
2016-09-21 11:37:37 -07:00
2016-08-09 14:43:38 -06:00
2016-09-20 16:52:47 -07:00
2016-09-26 20:52:13 +03:00
2016-09-26 20:52:13 +03:00
2015-09-18 20:48:50 -06:00
2016-10-07 10:40:41 +02:00
2016-06-18 15:33:08 +02:00
2016-02-18 15:09:22 -08:00
2016-01-15 14:35:28 -06:00
2016-05-03 15:22:13 -07:00
2014-02-03 13:20:28 -08:00
2015-11-11 12:05:11 -07:00
2016-05-01 16:48:09 -07:00
2016-09-30 15:03:04 +03:00
2016-03-08 10:20:37 +01:00
2016-08-25 22:44:57 -04:00
2015-10-07 15:25:02 -05:00
2016-09-26 20:52:13 +03:00
2016-01-15 14:35:28 -06:00
2016-01-15 14:35:28 -06:00
2014-09-30 12:58:10 -06:00
2015-10-06 10:02:04 +02:00
2016-03-25 16:37:01 +01:00
2016-01-05 19:55:53 +01:00
2015-10-07 15:25:05 -05:00
2016-09-26 20:52:13 +03:00
2016-07-29 13:42:09 -07:00
2015-10-07 15:25:02 -05:00
2015-08-21 12:55:22 -07:00
2015-04-22 07:29:00 -07:00
2016-09-26 20:52:13 +03:00
2016-08-15 16:45:10 -07:00
2016-09-26 20:52:13 +03:00
2016-09-15 14:08:35 -06:00
2016-04-14 14:19:09 +00:00
2016-01-13 19:05:38 -08:00
2014-11-24 14:58:21 -08:00
2015-07-07 13:46:53 -07:00
2016-09-22 12:39:06 -06:00
2016-09-26 20:52:13 +03:00
2016-03-28 14:49:26 +02:00
2016-03-28 16:40:39 +02:00
2016-09-12 18:03:40 -07:00
2016-05-30 14:49:29 +02:00
2016-09-26 20:52:13 +03:00
2016-09-26 20:52:13 +03:00
2014-12-01 16:28:33 -08:00
2015-10-07 15:25:00 -05:00
2014-12-09 13:41:33 -07:00
2016-09-26 20:52:13 +03:00
2015-10-13 18:54:48 -06:00
2016-09-26 20:52:13 +03:00
2016-05-25 11:02:29 +02:00
2013-12-31 15:05:34 -08:00
2016-10-07 10:40:41 +02:00
2016-09-26 20:52:13 +03:00
2016-02-11 19:56:25 -08:00
2016-10-07 10:40:41 +02:00
2016-10-07 10:40:41 +02:00
2016-09-26 20:52:13 +03:00
2016-10-07 10:40:41 +02:00
2016-10-07 10:40:41 +02:00
2016-10-07 10:40:41 +02:00
2016-10-05 12:03:53 -07:00
2016-09-29 14:21:54 -07:00
2016-03-18 18:30:35 +01:00
2016-09-26 20:52:13 +03:00
2016-09-26 20:52:13 +03:00
2016-08-02 16:16:27 -06:00
2015-10-07 15:25:02 -05:00
2016-10-07 10:40:41 +02:00
2016-09-26 20:52:13 +03:00
2016-03-04 13:40:16 -07:00
2015-08-19 17:55:29 -07:00
2016-09-08 12:24:33 -06:00
2016-03-01 10:56:03 -05:00
2016-09-26 20:52:13 +03:00
2016-09-07 16:36:00 +02:00
2016-09-26 20:52:13 +03:00