]> git.neil.brown.name Git - edlib.git/commit
text: fix undo/redo bug.
authorNeilBrown <neil@brown.name>
Tue, 24 Nov 2015 21:12:29 +0000 (08:12 +1100)
committerNeilBrown <neil@brown.name>
Tue, 24 Nov 2015 21:12:29 +0000 (08:12 +1100)
commit7fd91ced9a130b45c46b18b33ca98f964c6f1c42
tree5db794297c90458cceb20fe005c74af431dc5c8e
parent099b7a06e122ba856370277213428d6bc537bd0c
text: fix undo/redo bug.

we move the point ref forward, and them move along the mark list
to match.
But we need to go *beyond* any mark at the same position
else when we step the ref forward we won't know to keep going....
It is confusing, but this doesn't crash.

Signed-off-by: NeilBrown <neil@brown.name>
doc-text.c