|
Karsten Hopp |
6b3942 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
6b3942 |
Subject: Patch 7.1.139
|
|
Karsten Hopp |
6b3942 |
Fcc: outbox
|
|
Karsten Hopp |
6b3942 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
6b3942 |
Mime-Version: 1.0
|
|
Karsten Hopp |
6b3942 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
6b3942 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
6b3942 |
------------
|
|
Karsten Hopp |
6b3942 |
|
|
Karsten Hopp |
6b3942 |
Patch 7.1.139
|
|
Karsten Hopp |
6b3942 |
Problem: When using marker folding and ending Insert mode with CTRL-C the
|
|
Karsten Hopp |
6b3942 |
current fold is truncated. (Fred Kater)
|
|
Karsten Hopp |
6b3942 |
Solution: Ignore got_int while updating folds.
|
|
Karsten Hopp |
6b3942 |
Files: src/fold.c
|
|
Karsten Hopp |
6b3942 |
|
|
Karsten Hopp |
6b3942 |
|
|
Karsten Hopp |
6b3942 |
*** ../vim-7.1.138/src/fold.c Thu May 10 21:02:13 2007
|
|
Karsten Hopp |
6b3942 |
--- src/fold.c Sun Oct 14 15:27:13 2007
|
|
Karsten Hopp |
6b3942 |
***************
|
|
Karsten Hopp |
6b3942 |
*** 858,864 ****
|
|
Karsten Hopp |
6b3942 |
--- 858,871 ----
|
|
Karsten Hopp |
6b3942 |
|| foldmethodIsDiff(wp)
|
|
Karsten Hopp |
6b3942 |
#endif
|
|
Karsten Hopp |
6b3942 |
|| foldmethodIsSyntax(wp))
|
|
Karsten Hopp |
6b3942 |
+ {
|
|
Karsten Hopp |
6b3942 |
+ int save_got_int = got_int;
|
|
Karsten Hopp |
6b3942 |
+
|
|
Karsten Hopp |
6b3942 |
+ /* reset got_int here, otherwise it won't work */
|
|
Karsten Hopp |
6b3942 |
+ got_int = FALSE;
|
|
Karsten Hopp |
6b3942 |
foldUpdateIEMS(wp, top, bot);
|
|
Karsten Hopp |
6b3942 |
+ got_int |= save_got_int;
|
|
Karsten Hopp |
6b3942 |
+ }
|
|
Karsten Hopp |
6b3942 |
}
|
|
Karsten Hopp |
6b3942 |
|
|
Karsten Hopp |
6b3942 |
/* foldUpdateAll() {{{2 */
|
|
Karsten Hopp |
6b3942 |
*** ../vim-7.1.138/src/version.c Tue Oct 9 10:46:39 2007
|
|
Karsten Hopp |
6b3942 |
--- src/version.c Sun Oct 14 15:31:18 2007
|
|
Karsten Hopp |
6b3942 |
***************
|
|
Karsten Hopp |
6b3942 |
*** 668,669 ****
|
|
Karsten Hopp |
6b3942 |
--- 668,671 ----
|
|
Karsten Hopp |
6b3942 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
6b3942 |
+ /**/
|
|
Karsten Hopp |
6b3942 |
+ 139,
|
|
Karsten Hopp |
6b3942 |
/**/
|
|
Karsten Hopp |
6b3942 |
|
|
Karsten Hopp |
6b3942 |
--
|
|
Karsten Hopp |
6b3942 |
If Pacman had affected us as kids we'd be running around in dark rooms,
|
|
Karsten Hopp |
6b3942 |
munching pills and listening to repetitive music.
|
|
Karsten Hopp |
6b3942 |
-- Marcus Brigstocke
|
|
Karsten Hopp |
6b3942 |
|
|
Karsten Hopp |
6b3942 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
6b3942 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
6b3942 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
6b3942 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|