diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-04-26 16:39:17 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-05-07 15:05:09 -0700 |
commit | 3aa49b6fece334ace7525d42c1f6d0b7cdc1fbfb (patch) | |
tree | 8b04d1e7dff2b31f68a60bc43949344f24ba564a /libs/androidfw/ZipUtils.cpp | |
parent | 2ae118d1077bcec1c407b6ecb9acf14e2152fe93 (diff) |
New UndoManager.
Basic implementation of an undo manager. Supports
multi-level undo/redo, building on the top undo state
as edits occur, managing multiple distinct entities in
the undo state (such as embedded objects in a document),
and saving/restoring the full undo state. Still some
work remaining on correctly dealing with dependencies
between undo states that hold multiple owners.
Also do a simple implementation of undo state in TextView
to see how things actually work. The implementation here
is very primitive: it needs a lot more work to correctly
identify when to merge undo ops, is not trying to do
anything smart with style spans, etc.
Change-Id: Ie30f4e133351e2f569ffb48c6c44a2b19cadee27
Diffstat (limited to 'libs/androidfw/ZipUtils.cpp')
0 files changed, 0 insertions, 0 deletions