0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2015-07-28 17:16:33 +02:00
parent 278236000f
commit 52e21cf057
3 changed files with 8 additions and 0 deletions

View File

@@ -51,6 +51,12 @@ G$khhhhhkkcmno
:exe ":norm! 012l\<C-v>jjAx\<Esc>" :exe ":norm! 012l\<C-v>jjAx\<Esc>"
:set ve= enc=latin1 :set ve= enc=latin1
:.,/^$/w >> test.out :.,/^$/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 <20> changes to SS :" gUe must uppercase a whole word, also when <20> changes to SS
Gothe youtu<74>euu endYpk0wgUe Gothe youtu<74>euu endYpk0wgUe
:" gUfx must uppercase until x, inclusive. :" gUfx must uppercase until x, inclusive.

Binary file not shown.

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
802,
/**/ /**/
801, 801,
/**/ /**/