Mercurial > vim
changeset 6969:417201526af3 v7.4.802
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 28 Jul 2015 17:16:33 +0200 |
parents | 10c10846d8f9 |
children | 589a962ecc16 |
files | src/testdir/test39.in src/testdir/test39.ok src/version.c |
diffstat | 3 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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.
index 349d67fe775b797974d039d14e918edecdee245f..1974b6a5622ff1881829ba4af4a44b13dac03323 GIT binary patch literal 968 zc%1E1T}#6-6!o<i{0|p=9<)jKi3sghoG>h`E$EXZ{n(~mqq0HgpY^YJn{AqviGRR6 zoRfRbxi@)8M7{fvX_gm@<?8vRT!SFtjTR!VD`lZxZ8I+#6Y)29L9SM4bfX-6ArJ{b zN{L7SX__JuK$c~Q1OV5sH+7RCmQ92>Z4$(p4tR_U32wL7Cjy^wG|KVO6tWL+xL=J{ zxvFxfRkK#jjfNw(`b?RfmuX6=s)gQ<uuw{h_kU_r?9Fe3xJI$Tyvks+%<(Zy;v|ZK zB+*g_cOjKpde~wI;%Q)Jg8K<Lj&nx!XWkSicQ6Twk{B3c&HSA@Npa4<dq4B-Rv+px z?slO+7@pk?2baC>3I3J8(8(W6RXK7|6~)K~xT0T2j|Bbj$(zkA%dTzPc1+oi^#9vC N%yh={Xl{5ed;vC&8bkm9