Antonio Scandurra
c3f7edc104
Swap underlying editor correctly when calling setModel on editor element
...
Previously, when `setModel` was called, we forgot to update the pointer
to the component in the newly supplied editor. This was causing the
element to not update in response to model updates but only as a result
of focus or visibility changes. We suspect this regressed during the
rewrite of the editor rendering layer.
With this commit we will now correctly swap the element's underlying
editor by updating the component pointer on the newly supplied editor.
Also, if the element was already attached to another editor, we will
null out the component reference on it, because one instance of
`TextEditorElement` can only represent one instance of `TextEditor`.
2017-07-13 18:13:48 +02:00
..
2017-05-24 08:41:43 -07:00
2017-05-11 16:46:02 -06:00
2017-06-09 10:48:17 -07:00
2016-08-09 14:43:38 -06:00
2017-04-07 13:20:44 -07:00
2017-05-31 17:46:04 -07:00
2017-01-14 09:04:49 -08:00
2015-09-18 20:48:50 -06:00
2017-05-03 14:21:24 +02:00
2017-03-11 19:05:28 +01:00
2017-05-11 21:10:20 -06:00
2016-01-15 14:35:28 -06:00
2017-01-19 13:30:39 -08:00
2014-02-03 13:20:28 -08:00
2017-03-11 19:05:28 +01:00
2016-05-01 16:48:09 -07:00
2016-12-01 14:02:11 -08:00
2017-04-07 13:29:51 -07:00
2017-03-11 19:05:28 +01:00
2017-05-05 09:29:29 +02:00
2017-02-18 11:32:44 +03:00
2016-01-15 14:35:28 -06:00
2014-09-30 12:58:10 -06:00
2017-06-07 16:24:28 -07:00
2017-03-13 19:11:53 +01:00
2016-12-01 10:48:45 -08:00
2017-05-19 11:33:49 -07:00
2016-12-01 10:48:45 -08:00
2017-05-05 09:29:29 +02:00
2017-05-05 09:29:29 +02:00
2017-05-11 16:58:54 -06:00
2016-09-26 20:52:13 +03:00
2017-01-05 17:12:02 -08:00
2016-08-15 16:45:10 -07:00
2017-03-21 23:25:31 -04:00
2016-12-01 10:48:45 -08:00
2017-03-13 19:11:53 +01:00
2014-11-24 14:58:21 -08:00
2015-07-07 13:46:53 -07:00
2017-05-12 10:11:58 +02:00
2017-03-28 12:26:03 +02:00
2017-04-04 07:54:35 -07:00
2017-04-05 16:50:04 -07:00
2017-06-08 16:50:53 -07:00
2017-06-08 17:25:31 -07:00
2017-04-11 12:20:50 -07:00
2017-06-07 12:00:25 -07:00
2017-04-11 09:15:52 -07:00
2017-04-05 16:10:21 -07:00
2017-04-10 17:43:52 -07:00
2017-06-07 11:21:39 -07:00
2016-10-27 10:57:48 -07:00
2015-10-13 18:54:48 -06:00
2017-01-02 11:55:41 -08:00
2013-12-31 15:05:34 -08:00
2017-05-11 21:33:50 -06:00
2017-06-14 16:57:37 -07:00
2017-04-04 13:45:14 -07:00
2017-01-20 15:09:57 +01:00
2016-10-07 10:40:41 +02:00
2016-09-26 20:52:13 +03:00
2017-07-10 15:53:23 -06:00
2017-07-13 18:13:48 +02:00
2017-05-05 09:30:08 +02:00
2017-06-02 09:58:57 -07:00
2016-03-18 18:30:35 +01:00
2017-04-11 12:05:43 -06:00
2016-09-26 20:52:13 +03:00
2017-06-26 16:32:14 +02:00
2016-10-12 09:04:41 +02:00
2017-05-10 17:54:14 +02:00
2017-05-05 09:29:30 +02:00
2016-12-22 16:39:40 -08:00
2015-08-19 17:55:29 -07:00
2016-12-04 15:28:43 -03:00
2017-05-05 09:29:29 +02:00
2017-05-31 17:46:04 -07:00
2017-05-25 17:24:07 -04:00
2017-06-08 15:44:15 -04:00
2017-06-08 16:50:53 -07:00