summaryrefslogtreecommitdiff
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-07-28 11:21:32 +0200
committerBram Moolenaar <Bram@vim.org>2015-07-28 11:21:32 +0200
commit31b259bf9571cae6408be3ef75d9485e24029be5 (patch)
treec4af83ad0c9d6cc0ea766f5d0641136ba091ef99 /src/testdir
parent5f95f288a2d303be1571e818655fd90e399ee58e (diff)
downloadvim-31b259bf9571cae6408be3ef75d9485e24029be5.zip
patch 7.4.798
Problem: Repeating a change in Visual mode does not work as expected. (Urtica Dioica) Solution: Make redo in Visual mode work better. (Christian Brabandt)
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test_listlbr.in6
-rw-r--r--src/testdir/test_listlbr.ok5
2 files changed, 11 insertions, 0 deletions
diff --git a/src/testdir/test_listlbr.in b/src/testdir/test_listlbr.in
index 6af48a75e..164f12a80 100644
--- a/src/testdir/test_listlbr.in
+++ b/src/testdir/test_listlbr.in
@@ -74,6 +74,12 @@ Golong line: 40afoobar aTARGET at end
:let g:test ="Test 8: set linebreak with visual char mode and changing block"
:$put =g:test
Go1111-1111-1111-11-1111-1111-11110f-lv3lc2222bgj.
+:let g:test ="Test 9: using redo after block visual mode"
+:$put =g:test
+Go
+aaa
+aaa
+a2k2j~e.
:%w! test.out
:qa!
ENDTEST
diff --git a/src/testdir/test_listlbr.ok b/src/testdir/test_listlbr.ok
index 82881234c..323bcdee0 100644
--- a/src/testdir/test_listlbr.ok
+++ b/src/testdir/test_listlbr.ok
@@ -41,3 +41,8 @@ Test 7: set linebreak with visual block mode and v_b_A
long line: foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar foobar TARGETx at end
Test 8: set linebreak with visual char mode and changing block
1111-2222-1111-11-1111-2222-1111
+Test 9: using redo after block visual mode
+
+AaA
+AaA
+A