diff options
author | Bram Moolenaar <bram@vim.org> | 2015-07-28 17:16:33 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2015-07-28 17:16:33 +0200 |
commit | d2a37f8d68f623010bc9c6794c12282759620e28 (patch) | |
tree | cfefb570002ae1fd20bec17a1cda61d72fc9ffb1 | |
parent | c96243ad6b3ad1c7a11c74459674ae1ef462e569 (diff) | |
download | vim-d2a37f8d68f623010bc9c6794c12282759620e28.tar.gz |
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.in | 6 | ||||
-rw-r--r-- | src/testdir/test39.ok | bin | 662 -> 968 bytes | |||
-rw-r--r-- | src/version.c | 2 |
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 Binary files differindex 349d67fe..1974b6a5 100644 --- a/src/testdir/test39.ok +++ b/src/testdir/test39.ok 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, |