To:
[email protected]
Subject: Patch 6.1a.013
Fcc: outbox
From: Bram Moolenaar <
[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------
Patch 6.1a.013
Problem: When using "=~word" in 'cinkeys' or 'indentkeys', the case of the
last character of the word isn't ignored. (Raul Segura Acevedo)
Solution: Ignore case when checking the last typed character.
Files: src/edit.c
*** ../vim61a.012/src/edit.c Thu Feb 21 20:03:42 2002
--- src/edit.c Thu Feb 28 20:32:56 2002
***************
*** 5307,5313 ****
else
#endif
/* TODO: multi-byte */
! if (keytyped == (int)p[-1])
{
line = ml_get_cursor();
if ((curwin->w_cursor.col == (colnr_T)(p - look)
--- 5307,5314 ----
else
#endif
/* TODO: multi-byte */
! if (keytyped == (int)p[-1] || (icase && keytyped < 256
! && TO_LOWER(keytyped) == TO_LOWER((int)p[-1])))
{
line = ml_get_cursor();
if ((curwin->w_cursor.col == (colnr_T)(p - look)
*** ../vim61a.012/src/version.c Thu Feb 28 16:44:46 2002
--- src/version.c Thu Feb 28 20:28:53 2002
***************
*** 608,609 ****
--- 608,611 ----
{ /* Add new patch number below this line */
+ /**/
+ 13,
/**/
--
From "know your smileys":
!-| I-am-a-Cylon-Centurian-with-one-red-eye-bouncing-back-and-forth
/// Bram Moolenaar --
[email protected] --
http://www.moolenaar.net \\\
/// Creator of Vim --
http://vim.sf.net --
ftp://ftp.vim.org/pub/vim \\\
\\\ Project leader for A-A-P --
http://www.a-a-p.org ///
\\\ Help me helping AIDS orphans in Uganda -
http://iccf-holland.org ///