commit | 66accae33961b02cab7c4ad6cdb1e0bc16da8cb8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jan 10 13:44:27 2012 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jan 10 13:44:27 2012 +0100 |
tree | 6a29aebc96b7ef744067903766b0d8f3ec69b2a3 | |
parent | 738f8fc8edf7a87824bba8650c04ba6197fea25f [diff] [blame] |
updated for version 7.3.395 Problem: "dv?bar" in the last line deletes too much and breaks undo. Solution: Only adjust the cursor position when it's after the last line of the buffer. Add a test. (Christian Brabandt)
diff --git a/src/testdir/test43.ok b/src/testdir/test43.ok index 425316b..0b37a6a 100644 --- a/src/testdir/test43.ok +++ b/src/testdir/test43.ok
@@ -6,3 +6,6 @@ 6 x aa$ x 7 (a)(b) abba 8 axx ab]xx +9 foobar +9 foo +