summaryrefslogtreecommitdiff
path: root/src
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
commitd2a37f8d68f623010bc9c6794c12282759620e28 (patch)
treecfefb570002ae1fd20bec17a1cda61d72fc9ffb1 /src
parentc96243ad6b3ad1c7a11c74459674ae1ef462e569 (diff)
downloadvim-d2a37f8d68f623010bc9c6794c12282759620e28.tar.gz
patch 7.4.802v7.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)
Diffstat (limited to 'src')
-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 fcb935de..ff7fe33a 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 349d67fe..1974b6a5 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 12ddab28..7de9d82e 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,