|
Karsten Hopp |
4cb984 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
4cb984 |
Subject: patch 7.0.229
|
|
Karsten Hopp |
4cb984 |
Fcc: outbox
|
|
Karsten Hopp |
4cb984 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
4cb984 |
Mime-Version: 1.0
|
|
Karsten Hopp |
4cb984 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
4cb984 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
4cb984 |
------------
|
|
Karsten Hopp |
4cb984 |
|
|
Karsten Hopp |
4cb984 |
Patch 7.0.229
|
|
Karsten Hopp |
4cb984 |
Problem: When 'pastetoggle' starts with Esc then pressing Esc in Insert
|
|
Karsten Hopp |
4cb984 |
mode will not time out. (Jeffery Small)
|
|
Karsten Hopp |
4cb984 |
Solution: Use KL_PART_KEY instead of KL_PART_MAP, so that 'ttimeout' applies
|
|
Karsten Hopp |
4cb984 |
to the 'pastetoggle' key.
|
|
Karsten Hopp |
4cb984 |
Files: src/getchar.c
|
|
Karsten Hopp |
4cb984 |
|
|
Karsten Hopp |
4cb984 |
|
|
Karsten Hopp |
4cb984 |
*** ../vim-7.0.228/src/getchar.c Sun Mar 4 21:25:44 2007
|
|
Karsten Hopp |
4cb984 |
--- src/getchar.c Thu Apr 19 22:13:37 2007
|
|
Karsten Hopp |
4cb984 |
***************
|
|
Karsten Hopp |
4cb984 |
*** 2183,2189 ****
|
|
Karsten Hopp |
4cb984 |
}
|
|
Karsten Hopp |
4cb984 |
/* Need more chars for partly match. */
|
|
Karsten Hopp |
4cb984 |
if (mlen == typebuf.tb_len)
|
|
Karsten Hopp |
4cb984 |
! keylen = KL_PART_MAP;
|
|
Karsten Hopp |
4cb984 |
else if (max_mlen < mlen)
|
|
Karsten Hopp |
4cb984 |
/* no match, may have to check for termcode at
|
|
Karsten Hopp |
4cb984 |
* next character */
|
|
Karsten Hopp |
4cb984 |
--- 2187,2193 ----
|
|
Karsten Hopp |
4cb984 |
}
|
|
Karsten Hopp |
4cb984 |
/* Need more chars for partly match. */
|
|
Karsten Hopp |
4cb984 |
if (mlen == typebuf.tb_len)
|
|
Karsten Hopp |
4cb984 |
! keylen = KL_PART_KEY;
|
|
Karsten Hopp |
4cb984 |
else if (max_mlen < mlen)
|
|
Karsten Hopp |
4cb984 |
/* no match, may have to check for termcode at
|
|
Karsten Hopp |
4cb984 |
* next character */
|
|
Karsten Hopp |
4cb984 |
*** ../vim-7.0.228/src/version.c Thu Apr 26 16:28:43 2007
|
|
Karsten Hopp |
4cb984 |
--- src/version.c Thu Apr 26 16:48:59 2007
|
|
Karsten Hopp |
4cb984 |
***************
|
|
Karsten Hopp |
4cb984 |
*** 668,669 ****
|
|
Karsten Hopp |
4cb984 |
--- 668,671 ----
|
|
Karsten Hopp |
4cb984 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
4cb984 |
+ /**/
|
|
Karsten Hopp |
4cb984 |
+ 229,
|
|
Karsten Hopp |
4cb984 |
/**/
|
|
Karsten Hopp |
4cb984 |
|
|
Karsten Hopp |
4cb984 |
--
|
|
Karsten Hopp |
4cb984 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
4cb984 |
20. When looking at a pageful of someone else's links, you notice all of them
|
|
Karsten Hopp |
4cb984 |
are already highlighted in purple.
|
|
Karsten Hopp |
4cb984 |
|
|
Karsten Hopp |
4cb984 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
4cb984 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
4cb984 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
4cb984 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|