Patch 7.4.883 (after 7.4.818)
Problem: Block-mode replace works characterwise instead of blockwise after
column 147. (Issue #422)
Solution: Set Visual mode. (Christian Brabandt)
Files: src/normal.c, src/testdir/test_listlbr.in,
src/testdir/test_listlbr.ok
*** ../vim-7.4.882/src/normal.c 2015-09-08 17:50:38.071546587 +0200
--- src/normal.c 2015-09-25 19:24:44.890385976 +0200
***************
*** 9596,9602 ****
|| (!initial && oap->end.col < W_WIDTH(curwin)))
return;
! oap->block_mode = VIsual_active;
#ifdef FEAT_MBYTE
/* prevent from moving onto a trail byte */
--- 9596,9602 ----
|| (!initial && oap->end.col < W_WIDTH(curwin)))
return;
! oap->block_mode = TRUE;
#ifdef FEAT_MBYTE
/* prevent from moving onto a trail byte */
*** ../vim-7.4.882/src/testdir/test_listlbr.in 2015-08-11 17:46:31.212481064
+0200
--- src/testdir/test_listlbr.in 2015-09-25 19:24:44.890385976 +0200
***************
*** 87,92 ****
--- 87,96 ----
abcd{ef
ghijklm
no}pqrs 2k0f{ c%
+ :let g:test ="Test 11: using block replace mode after wrapping"
+ :$put =g:test
+ :set linebreak wrap
+ Go 150aa yypk147| jr0
:%w! test.out
:qa!
ENDTEST
*** ../vim-7.4.882/src/testdir/test_listlbr.ok 2015-08-11 17:46:31.212481064
+0200
--- src/testdir/test_listlbr.ok 2015-09-25 19:24:44.890385976 +0200
***************
*** 49,51 ****
--- 49,54 ----
Test 10: using normal commands after block-visual
abcdpqrs
+ Test 11: using block replace mode after wrapping
+
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa
+
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa
*** ../vim-7.4.882/src/version.c 2015-09-25 19:12:16.282267255 +0200
--- src/version.c 2015-09-25 19:24:18.338665510 +0200
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 883,
/**/
--
Me? A skeptic? I trust you have proof.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.