|
Karsten Hopp |
bc6b92 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
bc6b92 |
Subject: Patch 7.2.252
|
|
Karsten Hopp |
bc6b92 |
Fcc: outbox
|
|
Karsten Hopp |
bc6b92 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
bc6b92 |
Mime-Version: 1.0
|
|
Karsten Hopp |
bc6b92 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
bc6b92 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
bc6b92 |
------------
|
|
Karsten Hopp |
bc6b92 |
|
|
Karsten Hopp |
bc6b92 |
Patch 7.2.252
|
|
Karsten Hopp |
bc6b92 |
Problem: When using a multi-byte 'enc' the 'iskeyword' option cannot
|
|
Karsten Hopp |
bc6b92 |
contain characters above 128.
|
|
Karsten Hopp |
bc6b92 |
Solution: Use mb_ptr2char_adv().
|
|
Karsten Hopp |
bc6b92 |
Files: src/charset.c
|
|
Karsten Hopp |
bc6b92 |
|
|
Karsten Hopp |
bc6b92 |
|
|
Karsten Hopp |
bc6b92 |
*** ../vim-7.2.251/src/charset.c 2009-05-14 22:19:19.000000000 +0200
|
|
Karsten Hopp |
bc6b92 |
--- src/charset.c 2009-09-09 21:11:46.000000000 +0200
|
|
Karsten Hopp |
bc6b92 |
***************
|
|
Karsten Hopp |
bc6b92 |
*** 174,179 ****
|
|
Karsten Hopp |
bc6b92 |
--- 174,184 ----
|
|
Karsten Hopp |
bc6b92 |
if (VIM_ISDIGIT(*p))
|
|
Karsten Hopp |
bc6b92 |
c = getdigits(&p);
|
|
Karsten Hopp |
bc6b92 |
else
|
|
Karsten Hopp |
bc6b92 |
+ #ifdef FEAT_MBYTE
|
|
Karsten Hopp |
bc6b92 |
+ if (has_mbyte)
|
|
Karsten Hopp |
bc6b92 |
+ c = mb_ptr2char_adv(&p);
|
|
Karsten Hopp |
bc6b92 |
+ else
|
|
Karsten Hopp |
bc6b92 |
+ #endif
|
|
Karsten Hopp |
bc6b92 |
c = *p++;
|
|
Karsten Hopp |
bc6b92 |
c2 = -1;
|
|
Karsten Hopp |
bc6b92 |
if (*p == '-' && p[1] != NUL)
|
|
Karsten Hopp |
bc6b92 |
*** ../vim-7.2.251/src/version.c 2009-09-11 13:44:33.000000000 +0200
|
|
Karsten Hopp |
bc6b92 |
--- src/version.c 2009-09-11 14:01:48.000000000 +0200
|
|
Karsten Hopp |
bc6b92 |
***************
|
|
Karsten Hopp |
bc6b92 |
*** 678,679 ****
|
|
Karsten Hopp |
bc6b92 |
--- 678,681 ----
|
|
Karsten Hopp |
bc6b92 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
bc6b92 |
+ /**/
|
|
Karsten Hopp |
bc6b92 |
+ 252,
|
|
Karsten Hopp |
bc6b92 |
/**/
|
|
Karsten Hopp |
bc6b92 |
|
|
Karsten Hopp |
bc6b92 |
--
|
|
Karsten Hopp |
bc6b92 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
bc6b92 |
226. You sit down at the computer right after dinner and your spouse
|
|
Karsten Hopp |
bc6b92 |
says "See you in the morning."
|
|
Karsten Hopp |
bc6b92 |
|
|
Karsten Hopp |
bc6b92 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
bc6b92 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
bc6b92 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
bc6b92 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|