From 6ae133b915ddf42578fd7bfb8a0dd392a2b43a7f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 1 Nov 2006 20:25:45 +0000 Subject: [PATCH] updated for version 7.0-158 --- src/edit.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/edit.c b/src/edit.c index e117bedf4..dacbef574 100644 --- a/src/edit.c +++ b/src/edit.c @@ -9204,6 +9204,10 @@ ins_eol(c) #ifdef FEAT_CINDENT can_cindent = TRUE; #endif +#ifdef FEAT_FOLDING + /* When inserting a line the cursor line must never be in a closed fold. */ + foldOpenCursor(); +#endif return (!i); } diff --git a/src/version.c b/src/version.c index 82d0b88af..772e19cd5 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 158, /**/ 157, /**/ -- 2.40.0