summaryrefslogtreecommitdiffstats
path: root/src/testdir/test43.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-01-10 13:44:27 +0100
committerBram Moolenaar <Bram@vim.org>2012-01-10 13:44:27 +0100
commit66accae33961b02cab7c4ad6cdb1e0bc16da8cb8 (patch)
tree6a29aebc96b7ef744067903766b0d8f3ec69b2a3 /src/testdir/test43.in
parent738f8fc8edf7a87824bba8650c04ba6197fea25f (diff)
updated for version 7.3.395v7.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)
Diffstat (limited to 'src/testdir/test43.in')
-rw-r--r--src/testdir/test43.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/testdir/test43.in b/src/testdir/test43.in
index 26f0e0c9a9..49a97d939d 100644
--- a/src/testdir/test43.in
+++ b/src/testdir/test43.in
@@ -13,7 +13,11 @@ x/\V^aa$
x:set magic
/\v(a)(b)\2\1\1/e
x/\V[ab]\(\[xy]\)\1
-x:?^1?,$w! test.out
+x:$
+:set undolevels=100
+dv?bar?
+Yup:"
+:?^1?,$w! test.out
:qa!
ENDTEST
@@ -25,3 +29,5 @@ ENDTEST
6 x ^aa$ x
7 (a)(b) abbaa
8 axx [ab]xx
+9 foobar
+