diff src/testdir/test39.in @ 6969:417201526af3 v7.4.802

patch 7.4.802 Problem: Using "A" in Visual mode while 'linebreak' is set is not tested. Solution: Add a test for this, verifies the problem is fixed. (Ingo Karkat)
author Bram Moolenaar <bram@vim.org>
date Tue, 28 Jul 2015 17:16:33 +0200
parents a287b0e9e87b
children c7d12c7eb2b6
line wrap: on
line diff
--- a/src/testdir/test39.in
+++ b/src/testdir/test39.in
@@ -51,6 +51,12 @@ G$khhhhhkkcmno
 :exe ":norm! 012l\<C-v>jjAx\<Esc>"
 :set ve= enc=latin1
 :.,/^$/w >> test.out
+:" Test for single-line Visual block append at wrapped line with :set linebreak
+Golong line: 40afoobar aTARGET at end
+:set linebreak
+:exe ":norm! $3B\<C-v>eAx\<Esc>"
+:set nolinebreak
+:.w >> test.out
 :" gUe must uppercase a whole word, also when ß changes to SS
 Gothe youtußeuu endYpk0wgUe
 :" gUfx must uppercase until x, inclusive.