commit | a40ceaf88a6e2fbea7022dd84cd8dd5d903699e7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jan 13 22:35:40 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jan 13 22:35:40 2006 +0000 |
tree | 204e108bdab14c1f09ce1746ac7b432f19fc5af7 | |
parent | 4770d09abd866bb53d95895dc6a5c5fe7cccb619 [diff] [blame] |
updated for version 7.0180
diff --git a/src/edit.c b/src/edit.c index c037d1f..298ebc3 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -6527,6 +6527,10 @@ /* CTRL-G u: start new undoable edit */ case 'u': u_sync(); ins_need_undo = TRUE; + + /* Need to reset Insstart, esp. because a BS that joins + * aline to the previous one must save for undo. */ + Insstart = curwin->w_cursor; break; /* Unknown CTRL-G command, reserved for future expansion. */