diff options
author | James Cook <jamescook@google.com> | 2015-02-11 10:46:44 -0800 |
---|---|---|
committer | James Cook <jamescook@google.com> | 2015-02-19 10:32:14 -0800 |
commit | 9201e797833f35b9afb219f88c10d3b6fda02a4e (patch) | |
tree | d5270b1fd4f2625670d4b722d5f9b9b871791b81 /rs/java/android/renderscript/RenderScript.java | |
parent | 3558752ec77f455bbabc86b3178dfb294edf5aff (diff) |
Add basic support for Ctrl-Z to editable TextViews
* 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.
Tests in CTS TextViewTest will land separately in ag/635321
Bug: 19332904
Change-Id: Ibd23843f86b4cd556751faa0b3ad1f35d6d49785
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions