]> granicus.if.org Git - vim/commitdiff
patch 7.4.802 v7.4.802
authorBram Moolenaar <Bram@vim.org>
Tue, 28 Jul 2015 15:16:33 +0000 (17:16 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 28 Jul 2015 15:16:33 +0000 (17:16 +0200)
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)

src/testdir/test39.in
src/testdir/test39.ok
src/version.c

index fcb935de72bbdc34a041113612b3f9d2bb1bc3bf..ff7fe33a6a31955ea219101cadad93ce9033b156 100644 (file)
@@ -51,6 +51,12 @@ G$khhh\16hhkkcmno\e
 :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: \e40afoobar \eaTARGET at end\e
+: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 end\eYpk0wgUe
 :" gUfx must uppercase until x, inclusive.
index 349d67fe775b797974d039d14e918edecdee245f..1974b6a5622ff1881829ba4af4a44b13dac03323 100644 (file)
Binary files a/src/testdir/test39.ok and b/src/testdir/test39.ok differ
index 12ddab28fa35749375479c0ea3f4b32f9889ccb5..7de9d82efff54a41419ff68473896820b1c5e540 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    802,
 /**/
     801,
 /**/