James Cook
f59152cf00
Reland: Add basic support for Ctrl-Z to editable TextViews
...
Reland 9201e79783 which was reverted in
c8f08e07a4 .
Original description:
* Add an UndoManager to the Editor for each editable TextView
* Record operations as being owned by that Editor
* Parcel the undo state
* Wire hardware keyboard shortcuts Ctrl-Z for undo and Ctrl-Shift-Z
for redo into TextView shortcut handling.
* Expose IDs for "undo" and "redo" for symmetry with cut/copy/paste.
Additional fix:
* Ensure each UndoOwner always has a valid mManager, even after the
UndoManager is parceled and restored.
Bug: 19332904
Bug: 19505388
Change-Id: Iad4476e6e9ca952281e69bf22c07cca915dfa7bd
2015-02-27 10:04:08 -08:00
..
2015-02-18 07:49:03 -08:00
2015-02-26 13:36:28 -08:00
2015-02-06 10:42:44 -08:00
2015-01-07 16:05:02 -08:00
2015-01-19 12:08:22 +00:00
2015-02-18 07:49:03 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2014-10-03 09:41:08 +01:00
2015-02-18 07:49:03 -08:00
2015-02-18 07:49:03 -08:00
2015-02-06 10:42:44 -08:00
2015-02-18 07:49:03 -08:00
2014-11-13 10:50:37 -08:00
2014-11-13 10:50:37 -08:00
2015-02-06 10:42:44 -08:00
2015-02-23 17:15:27 -08:00
2015-02-06 10:42:44 -08:00
2015-02-18 07:49:03 -08:00
2015-01-14 10:43:31 -08:00
2015-02-06 10:42:44 -08:00
2015-02-26 18:16:16 +00:00
2014-11-06 15:22:31 -08:00
2014-11-24 16:32:06 +00:00
2015-01-08 00:07:25 +00:00
2015-02-06 10:42:44 -08:00
2015-02-12 09:20:31 +00:00
2015-02-27 10:04:08 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2014-11-20 16:07:59 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-18 07:49:03 -08:00
2015-02-18 07:49:03 -08:00
2015-02-06 10:42:44 -08:00
2015-01-26 10:24:08 -08:00
2015-02-18 07:49:03 -08:00
2015-02-10 14:56:02 +01:00
2015-02-06 10:42:44 -08:00
2015-01-07 16:05:02 -08:00
2014-10-31 23:49:49 +00:00
2015-02-18 07:49:03 -08:00
2015-02-03 15:49:18 -08:00
2015-02-26 13:36:28 -08:00
2015-02-26 11:47:25 -08:00
2015-02-20 10:51:33 -08:00
2015-02-06 10:42:44 -08:00
2015-02-18 07:49:03 -08:00
2015-02-11 13:52:05 -08:00
2015-02-20 10:51:33 -08:00
2014-10-30 16:55:53 -07:00
2014-08-28 17:41:49 -07:00
2015-01-14 10:43:31 -08:00
2015-02-05 17:10:47 -08:00
2014-10-02 14:32:37 +01:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-11 13:52:05 -08:00
2015-01-14 10:43:31 -08:00
2015-01-07 13:57:12 -08:00
2015-01-08 11:12:39 -08:00
2015-02-06 10:42:44 -08:00
2014-09-26 08:59:28 -07:00
2015-02-18 07:49:03 -08:00
2015-01-14 10:43:31 -08:00
2015-02-06 10:42:44 -08:00
2015-01-14 10:43:31 -08:00
2015-02-18 07:49:03 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-18 07:49:03 -08:00
2014-11-25 15:34:56 +01:00
2015-02-06 10:42:44 -08:00
2015-02-27 10:04:08 -08:00
2015-01-08 15:25:30 -08:00
2015-02-06 10:42:44 -08:00
2015-02-20 10:51:33 -08:00
2015-02-06 10:42:44 -08:00
2015-02-18 07:49:03 -08:00
2015-02-06 10:42:44 -08:00
2015-01-23 16:13:43 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00
2015-01-08 15:25:30 -08:00
2015-02-06 10:42:44 -08:00
2015-02-06 10:42:44 -08:00