|
Karsten Hopp |
3360da |
To: vim-dev@vim.org
|
|
Karsten Hopp |
3360da |
Subject: Patch 7.2.292
|
|
Karsten Hopp |
3360da |
Fcc: outbox
|
|
Karsten Hopp |
3360da |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
3360da |
Mime-Version: 1.0
|
|
Karsten Hopp |
3360da |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
3360da |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
3360da |
------------
|
|
Karsten Hopp |
3360da |
|
|
Karsten Hopp |
3360da |
Patch 7.2.292
|
|
Karsten Hopp |
3360da |
Problem: Block right-shift doesn't work properly with multi-byte encoding
|
|
Karsten Hopp |
3360da |
and 'list' set.
|
|
Karsten Hopp |
3360da |
Solution: Add the missing "else". (Lech Lorens)
|
|
Karsten Hopp |
3360da |
Files: src/ops.c
|
|
Karsten Hopp |
3360da |
|
|
Karsten Hopp |
3360da |
|
|
Karsten Hopp |
3360da |
*** ../vim-7.2.291/src/ops.c 2009-11-03 16:44:04.000000000 +0100
|
|
Karsten Hopp |
3360da |
--- src/ops.c 2009-11-11 17:15:04.000000000 +0100
|
|
Karsten Hopp |
3360da |
***************
|
|
Karsten Hopp |
3360da |
*** 422,429 ****
|
|
Karsten Hopp |
3360da |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
3360da |
if (has_mbyte)
|
|
Karsten Hopp |
3360da |
bd.textstart += (*mb_ptr2len)(bd.textstart);
|
|
Karsten Hopp |
3360da |
#endif
|
|
Karsten Hopp |
3360da |
! ++bd.textstart;
|
|
Karsten Hopp |
3360da |
}
|
|
Karsten Hopp |
3360da |
for ( ; vim_iswhite(*bd.textstart); )
|
|
Karsten Hopp |
3360da |
{
|
|
Karsten Hopp |
3360da |
--- 422,430 ----
|
|
Karsten Hopp |
3360da |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
3360da |
if (has_mbyte)
|
|
Karsten Hopp |
3360da |
bd.textstart += (*mb_ptr2len)(bd.textstart);
|
|
Karsten Hopp |
3360da |
+ else
|
|
Karsten Hopp |
3360da |
#endif
|
|
Karsten Hopp |
3360da |
! ++bd.textstart;
|
|
Karsten Hopp |
3360da |
}
|
|
Karsten Hopp |
3360da |
for ( ; vim_iswhite(*bd.textstart); )
|
|
Karsten Hopp |
3360da |
{
|
|
Karsten Hopp |
3360da |
*** ../vim-7.2.291/src/version.c 2009-11-11 17:07:25.000000000 +0100
|
|
Karsten Hopp |
3360da |
--- src/version.c 2009-11-11 17:21:31.000000000 +0100
|
|
Karsten Hopp |
3360da |
***************
|
|
Karsten Hopp |
3360da |
*** 683,684 ****
|
|
Karsten Hopp |
3360da |
--- 683,686 ----
|
|
Karsten Hopp |
3360da |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
3360da |
+ /**/
|
|
Karsten Hopp |
3360da |
+ 292,
|
|
Karsten Hopp |
3360da |
/**/
|
|
Karsten Hopp |
3360da |
|
|
Karsten Hopp |
3360da |
--
|
|
Karsten Hopp |
3360da |
Computers make very fast, very accurate, mistakes.
|
|
Karsten Hopp |
3360da |
|
|
Karsten Hopp |
3360da |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
3360da |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
3360da |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
3360da |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|