|
Karsten Hopp |
944788 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
944788 |
Subject: Patch 7.4.883
|
|
Karsten Hopp |
944788 |
Fcc: outbox
|
|
Karsten Hopp |
944788 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
944788 |
Mime-Version: 1.0
|
|
Karsten Hopp |
944788 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
944788 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
944788 |
------------
|
|
Karsten Hopp |
944788 |
|
|
Karsten Hopp |
944788 |
Patch 7.4.883 (after 7.4.818)
|
|
Karsten Hopp |
944788 |
Problem: Block-mode replace works characterwise instead of blockwise after
|
|
Karsten Hopp |
944788 |
column 147. (Issue #422)
|
|
Karsten Hopp |
944788 |
Solution: Set Visual mode. (Christian Brabandt)
|
|
Karsten Hopp |
944788 |
Files: src/normal.c, src/testdir/test_listlbr.in,
|
|
Karsten Hopp |
944788 |
src/testdir/test_listlbr.ok
|
|
Karsten Hopp |
944788 |
|
|
Karsten Hopp |
944788 |
|
|
Karsten Hopp |
944788 |
*** ../vim-7.4.882/src/normal.c 2015-09-08 17:50:38.071546587 +0200
|
|
Karsten Hopp |
944788 |
--- src/normal.c 2015-09-25 19:24:44.890385976 +0200
|
|
Karsten Hopp |
944788 |
***************
|
|
Karsten Hopp |
944788 |
*** 9596,9602 ****
|
|
Karsten Hopp |
944788 |
|| (!initial && oap->end.col < W_WIDTH(curwin)))
|
|
Karsten Hopp |
944788 |
return;
|
|
Karsten Hopp |
944788 |
|
|
Karsten Hopp |
944788 |
! oap->block_mode = VIsual_active;
|
|
Karsten Hopp |
944788 |
|
|
Karsten Hopp |
944788 |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
944788 |
/* prevent from moving onto a trail byte */
|
|
Karsten Hopp |
944788 |
--- 9596,9602 ----
|
|
Karsten Hopp |
944788 |
|| (!initial && oap->end.col < W_WIDTH(curwin)))
|
|
Karsten Hopp |
944788 |
return;
|
|
Karsten Hopp |
944788 |
|
|
Karsten Hopp |
944788 |
! oap->block_mode = TRUE;
|
|
Karsten Hopp |
944788 |
|
|
Karsten Hopp |
944788 |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
944788 |
/* prevent from moving onto a trail byte */
|
|
Karsten Hopp |
944788 |
*** ../vim-7.4.882/src/testdir/test_listlbr.in 2015-08-11 17:46:31.212481064 +0200
|
|
Karsten Hopp |
944788 |
--- src/testdir/test_listlbr.in 2015-09-25 19:24:44.890385976 +0200
|
|
Karsten Hopp |
944788 |
***************
|
|
Karsten Hopp |
944788 |
*** 87,92 ****
|
|
Karsten Hopp |
944788 |
--- 87,96 ----
|
|
Karsten Hopp |
944788 |
abcd{ef
|
|
Karsten Hopp |
944788 |
ghijklm
|
|
Karsten Hopp |
944788 |
no}pqrs?2k0f{??c%?
|
|
Karsten Hopp |
944788 |
+ :let g:test ="Test 11: using block replace mode after wrapping"
|
|
Karsten Hopp |
944788 |
+ :$put =g:test
|
|
Karsten Hopp |
944788 |
+ :set linebreak wrap
|
|
Karsten Hopp |
944788 |
+ Go?150aa?yypk147|?jr0
|
|
Karsten Hopp |
944788 |
:%w! test.out
|
|
Karsten Hopp |
944788 |
:qa!
|
|
Karsten Hopp |
944788 |
ENDTEST
|
|
Karsten Hopp |
944788 |
*** ../vim-7.4.882/src/testdir/test_listlbr.ok 2015-08-11 17:46:31.212481064 +0200
|
|
Karsten Hopp |
944788 |
--- src/testdir/test_listlbr.ok 2015-09-25 19:24:44.890385976 +0200
|
|
Karsten Hopp |
944788 |
***************
|
|
Karsten Hopp |
944788 |
*** 49,51 ****
|
|
Karsten Hopp |
944788 |
--- 49,54 ----
|
|
Karsten Hopp |
944788 |
Test 10: using normal commands after block-visual
|
|
Karsten Hopp |
944788 |
|
|
Karsten Hopp |
944788 |
abcdpqrs
|
|
Karsten Hopp |
944788 |
+ Test 11: using block replace mode after wrapping
|
|
Karsten Hopp |
944788 |
+ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa
|
|
Karsten Hopp |
944788 |
+ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0aaa
|
|
Karsten Hopp |
944788 |
*** ../vim-7.4.882/src/version.c 2015-09-25 19:12:16.282267255 +0200
|
|
Karsten Hopp |
944788 |
--- src/version.c 2015-09-25 19:24:18.338665510 +0200
|
|
Karsten Hopp |
944788 |
***************
|
|
Karsten Hopp |
944788 |
*** 743,744 ****
|
|
Karsten Hopp |
944788 |
--- 743,746 ----
|
|
Karsten Hopp |
944788 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
944788 |
+ /**/
|
|
Karsten Hopp |
944788 |
+ 883,
|
|
Karsten Hopp |
944788 |
/**/
|
|
Karsten Hopp |
944788 |
|
|
Karsten Hopp |
944788 |
--
|
|
Karsten Hopp |
944788 |
Me? A skeptic? I trust you have proof.
|
|
Karsten Hopp |
944788 |
|
|
Karsten Hopp |
944788 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
944788 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
944788 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
944788 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|