summaryrefslogtreecommitdiff
path: root/src/testdir/test_listlbr.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-06-25 13:30:46 +0200
committerBram Moolenaar <Bram@vim.org>2015-06-25 13:30:46 +0200
commit74db34cc9162445e3d500ab2d61c5c19ce9af0ca (patch)
tree26a5af2942668bb6d872dbe4815e74f203b4cd77 /src/testdir/test_listlbr.in
parent66312acf145f9d09fbc0dfa5caeafb715d5fd9ed (diff)
downloadvim-74db34cc9162445e3d500ab2d61c5c19ce9af0ca.zip
patch 7.4.753
Problem: Appending in Visual mode with 'linebreak' set does not work properly. Also when 'selection' is "exclusive". (Ingo Karkat) Solution: Recalculate virtual columns. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test_listlbr.in')
-rw-r--r--src/testdir/test_listlbr.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test_listlbr.in b/src/testdir/test_listlbr.in
index f6618c5a4..6af48a75e 100644
--- a/src/testdir/test_listlbr.in
+++ b/src/testdir/test_listlbr.in
@@ -59,11 +59,21 @@ STARTTEST
:set cpo&vim linebreak
:let g:test ="Test 6: set linebreak with visual block mode"
:let line="REMOVE: this not"
+:$put =g:test
:$put =line
:let line="REMOVE: aaaaaaaaaaaaa"
:$put =line
:1/^REMOVE:
0jf x:$put
+:set cpo&vim linebreak
+:let g:test ="Test 7: set linebreak with visual block mode and v_b_A"
+:$put =g:test
+Golong line: 40afoobar aTARGET at end
+:exe "norm! $3B\<C-v>eAx\<Esc>"
+:set cpo&vim linebreak sbr=
+: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.
:%w! test.out
:qa!
ENDTEST