|
Karsten Hopp |
bc88a7 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
bc88a7 |
Subject: patch 7.1.046
|
|
Karsten Hopp |
bc88a7 |
Fcc: outbox
|
|
Karsten Hopp |
bc88a7 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
bc88a7 |
Mime-Version: 1.0
|
|
Karsten Hopp |
bc88a7 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
bc88a7 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
bc88a7 |
------------
|
|
Karsten Hopp |
bc88a7 |
|
|
Karsten Hopp |
bc88a7 |
Patch 7.1.046
|
|
Karsten Hopp |
bc88a7 |
Problem: ":s" command removes combining characters. (Ron Aaron)
|
|
Karsten Hopp |
bc88a7 |
Solution: Copy composing characters individually. (Chris Lubinski)
|
|
Karsten Hopp |
bc88a7 |
Files: src/regexp.c
|
|
Karsten Hopp |
bc88a7 |
|
|
Karsten Hopp |
bc88a7 |
|
|
Karsten Hopp |
bc88a7 |
*** ../vim-7.1.045/src/regexp.c Thu May 10 19:58:01 2007
|
|
Karsten Hopp |
bc88a7 |
--- src/regexp.c Fri Jul 27 21:17:47 2007
|
|
Karsten Hopp |
bc88a7 |
***************
|
|
Karsten Hopp |
bc88a7 |
*** 7014,7020 ****
|
|
Karsten Hopp |
bc88a7 |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
bc88a7 |
if (has_mbyte)
|
|
Karsten Hopp |
bc88a7 |
{
|
|
Karsten Hopp |
bc88a7 |
! int l = mb_ptr2len(s) - 1;
|
|
Karsten Hopp |
bc88a7 |
|
|
Karsten Hopp |
bc88a7 |
s += l;
|
|
Karsten Hopp |
bc88a7 |
len -= l;
|
|
Karsten Hopp |
bc88a7 |
--- 7014,7027 ----
|
|
Karsten Hopp |
bc88a7 |
#ifdef FEAT_MBYTE
|
|
Karsten Hopp |
bc88a7 |
if (has_mbyte)
|
|
Karsten Hopp |
bc88a7 |
{
|
|
Karsten Hopp |
bc88a7 |
! int l;
|
|
Karsten Hopp |
bc88a7 |
!
|
|
Karsten Hopp |
bc88a7 |
! /* Copy composing characters separately, one
|
|
Karsten Hopp |
bc88a7 |
! * at a time. */
|
|
Karsten Hopp |
bc88a7 |
! if (enc_utf8)
|
|
Karsten Hopp |
bc88a7 |
! l = utf_ptr2len(s) - 1;
|
|
Karsten Hopp |
bc88a7 |
! else
|
|
Karsten Hopp |
bc88a7 |
! l = mb_ptr2len(s) - 1;
|
|
Karsten Hopp |
bc88a7 |
|
|
Karsten Hopp |
bc88a7 |
s += l;
|
|
Karsten Hopp |
bc88a7 |
len -= l;
|
|
Karsten Hopp |
bc88a7 |
*** ../vim-7.1.045/src/version.c Mon Jul 30 21:59:50 2007
|
|
Karsten Hopp |
bc88a7 |
--- src/version.c Mon Jul 30 22:30:02 2007
|
|
Karsten Hopp |
bc88a7 |
***************
|
|
Karsten Hopp |
bc88a7 |
*** 668,669 ****
|
|
Karsten Hopp |
bc88a7 |
--- 668,671 ----
|
|
Karsten Hopp |
bc88a7 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
bc88a7 |
+ /**/
|
|
Karsten Hopp |
bc88a7 |
+ 46,
|
|
Karsten Hopp |
bc88a7 |
/**/
|
|
Karsten Hopp |
bc88a7 |
|
|
Karsten Hopp |
bc88a7 |
--
|
|
Karsten Hopp |
bc88a7 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
bc88a7 |
57. You begin to wonder how on earth your service provider is allowed to call
|
|
Karsten Hopp |
bc88a7 |
200 hours per month "unlimited."
|
|
Karsten Hopp |
bc88a7 |
|
|
Karsten Hopp |
bc88a7 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
bc88a7 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
bc88a7 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
bc88a7 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|