From 52e21cf057e313a867b0f529c8e4d52ad5ae740d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 28 Jul 2015 17:16:33 +0200 Subject: [PATCH] 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) --- src/testdir/test39.in | 6 ++++++ src/testdir/test39.ok | Bin 662 -> 968 bytes src/version.c | 2 ++ 3 files changed, 8 insertions(+) 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 349d67fe775b797974d039d14e918edecdee245f..1974b6a5622ff1881829ba4af4a44b13dac03323 100644 GIT binary patch literal 968 zcmeHG>uQ5A6y9GC>>Up5cR>?-Wel{HbxUYfJ!!WwQ?qH#7&x7%DP(V!c1kljFyJx!XGw{8bkm9 delta 12 TcmX@XK8