diff options
author | Bram Moolenaar <bram@vim.org> | 2012-01-10 13:44:27 +0100 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2012-01-10 13:44:27 +0100 |
commit | c2a9147fa7c943bf43292324d46a902eb755f850 (patch) | |
tree | 2f9e487d23f6b920139bd0a846bc22dbdd61f990 /src/testdir/test43.ok | |
parent | cfc3f85a54bf4ac5a13df32bfed652235dd5ae44 (diff) | |
download | vim-c2a9147fa7c943bf43292324d46a902eb755f850.tar.gz |
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)
Diffstat (limited to 'src/testdir/test43.ok')
-rw-r--r-- | src/testdir/test43.ok | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test43.ok b/src/testdir/test43.ok index 425316b6..0b37a6a6 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 + |