]> git.mdlowis.com Git - projs/tide.git/commit
Reworked undo/redo logic to allow for batch operations. The first implemented batch...
authorMichael D. Lowis <mike.lowis@gentex.com>
Mon, 19 Dec 2016 20:29:52 +0000 (15:29 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Mon, 19 Dec 2016 20:29:52 +0000 (15:29 -0500)
commit3d970bdf3dff0456597534052c172206acf37a67
treecd7e0945943ca63129055c816a1068579b815ce7
parent6900990a13743a663c25915a558a3eee269a9e9d
Reworked undo/redo logic to allow for batch operations. The first implemented batch operation is a change or replacement. This constitutes inserting text with a non-empty selection. This will log a delete and an insert with the same transaction id allowing both operations to be undone and redone as if they were a single operation
inc/edit.h
inc/utf.h
libedit/buf.c
libedit/charset.c
libedit/utf8.c
libedit/utils.c
libedit/view.c
tests/buf.c
xedit.c
xpick.c