|
Karsten Hopp |
f15eb2 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
f15eb2 |
Subject: Patch 7.1.228
|
|
Karsten Hopp |
f15eb2 |
Fcc: outbox
|
|
Karsten Hopp |
f15eb2 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
f15eb2 |
Mime-Version: 1.0
|
|
Karsten Hopp |
f15eb2 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
f15eb2 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
f15eb2 |
------------
|
|
Karsten Hopp |
f15eb2 |
|
|
Karsten Hopp |
f15eb2 |
Patch 7.1.228
|
|
Karsten Hopp |
f15eb2 |
Problem: When 'foldmethod' is "indent" and a fold is created with ">>" it
|
|
Karsten Hopp |
f15eb2 |
can't be closed with "zc". (Daniel Shahaf)
|
|
Karsten Hopp |
f15eb2 |
Solution: Reset the "small" flag of a fold when adding a line to it.
|
|
Karsten Hopp |
f15eb2 |
Files: src/fold.c
|
|
Karsten Hopp |
f15eb2 |
|
|
Karsten Hopp |
f15eb2 |
|
|
Karsten Hopp |
f15eb2 |
*** ../vim-7.1.227/src/fold.c Sun Oct 14 15:32:10 2007
|
|
Karsten Hopp |
f15eb2 |
--- src/fold.c Sun Jan 13 21:26:48 2008
|
|
Karsten Hopp |
f15eb2 |
***************
|
|
Karsten Hopp |
f15eb2 |
*** 2676,2681 ****
|
|
Karsten Hopp |
f15eb2 |
--- 2676,2682 ----
|
|
Karsten Hopp |
f15eb2 |
if (fp->fd_len < flp->lnum - fp->fd_top)
|
|
Karsten Hopp |
f15eb2 |
{
|
|
Karsten Hopp |
f15eb2 |
fp->fd_len = flp->lnum - fp->fd_top;
|
|
Karsten Hopp |
f15eb2 |
+ fp->fd_small = MAYBE;
|
|
Karsten Hopp |
f15eb2 |
fold_changed = TRUE;
|
|
Karsten Hopp |
f15eb2 |
}
|
|
Karsten Hopp |
f15eb2 |
|
|
Karsten Hopp |
f15eb2 |
*** ../vim-7.1.227/src/version.c Sun Jan 13 17:39:29 2008
|
|
Karsten Hopp |
f15eb2 |
--- src/version.c Sun Jan 13 21:56:53 2008
|
|
Karsten Hopp |
f15eb2 |
***************
|
|
Karsten Hopp |
f15eb2 |
*** 668,669 ****
|
|
Karsten Hopp |
f15eb2 |
--- 668,671 ----
|
|
Karsten Hopp |
f15eb2 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
f15eb2 |
+ /**/
|
|
Karsten Hopp |
f15eb2 |
+ 228,
|
|
Karsten Hopp |
f15eb2 |
/**/
|
|
Karsten Hopp |
f15eb2 |
|
|
Karsten Hopp |
f15eb2 |
--
|
|
Karsten Hopp |
f15eb2 |
VOICE OVER: As the horrendous Black Beast lunged forward, escape for Arthur
|
|
Karsten Hopp |
f15eb2 |
and his knights seemed hopeless, when, suddenly ... the animator
|
|
Karsten Hopp |
f15eb2 |
suffered a fatal heart attack.
|
|
Karsten Hopp |
f15eb2 |
ANIMATOR: Aaaaagh!
|
|
Karsten Hopp |
f15eb2 |
VOICE OVER: The cartoon peril was no more ... The Quest for Holy Grail could
|
|
Karsten Hopp |
f15eb2 |
continue.
|
|
Karsten Hopp |
f15eb2 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
f15eb2 |
|
|
Karsten Hopp |
f15eb2 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
f15eb2 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
f15eb2 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
f15eb2 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|