summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-07-28 17:16:33 +0200
committerBram Moolenaar <Bram@vim.org>2015-07-28 17:16:33 +0200
commit52e21cf057e313a867b0f529c8e4d52ad5ae740d (patch)
treef5bf24a4dd4d43e395f720f9189425b214258c52
parent278236000f6449c79041be8d6f4faabb1d295260 (diff)
downloadvim-git-52e21cf057e313a867b0f529c8e4d52ad5ae740d.tar.gz
patch 7.4.802v7.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)
-rw-r--r--src/testdir/test39.in6
-rw-r--r--src/testdir/test39.okbin662 -> 968 bytes
-rw-r--r--src/version.c2
3 files changed, 8 insertions, 0 deletions
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\<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.
diff --git a/src/testdir/test39.ok b/src/testdir/test39.ok
index 349d67fe7..1974b6a56 100644
--- a/src/testdir/test39.ok
+++ b/src/testdir/test39.ok
Binary files differ
diff --git a/src/version.c b/src/version.c
index 12ddab28f..7de9d82ef 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 802,
+/**/
801,
/**/
800,