From 537e7812c998b468142b16bde8901d8405dbc690 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 21 Apr 2016 16:48:30 -0700 Subject: 2852 --- edit/011-editor-undo.mu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edit/011-editor-undo.mu b/edit/011-editor-undo.mu index 44f55438..3524840a 100644 --- a/edit/011-editor-undo.mu +++ b/edit/011-editor-undo.mu @@ -739,9 +739,9 @@ after [ move:address:move-operation <- maybe-convert *op, move:variant break-unless move # assert cursor-row/cursor-column/top-of-screen match after-row/after-column/after-top-of-screen - top:address:address:shared:duplex-list:character <- get-address *editor, top-of-screen:offset *cursor-row <- get *move, before-row:offset *cursor-column <- get *move, before-column:offset + top:address:address:shared:duplex-list:character <- get-address *editor, top-of-screen:offset *top <- get *move, before-top-of-screen:offset } ] @@ -1494,6 +1494,7 @@ scenario editor-separates-undo-insert-from-undo-cursor-move [ .┈┈┈┈┈┈┈┈┈┈. . . ] + # cursor moves memory-should-contain [ 3 <- 1 4 <- 1 -- cgit 1.4.1-2-gfad0