From: Bram Moolenaar Date: Tue, 28 Jul 2015 15:16:33 +0000 (+0200) Subject: patch 7.4.802 X-Git-Tag: v7.4.802 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52e21cf057e313a867b0f529c8e4d52ad5ae740d;p=vim 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) --- diff --git a/src/testdir/test39.in b/src/testdir/test39.in index fcb935de7..ff7fe33a6 100644 --- a/src/testdir/test39.in +++ b/src/testdir/test39.in @@ -51,6 +51,12 @@ G$khhhhhkkcmno :exe ":norm! 012l\jjAx\" :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\eAx\" +: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. diff --git a/src/testdir/test39.ok b/src/testdir/test39.ok index 349d67fe7..1974b6a56 100644 Binary files a/src/testdir/test39.ok and b/src/testdir/test39.ok differ diff --git a/src/version.c b/src/version.c index 12ddab28f..7de9d82ef 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 802, /**/ 801, /**/