diff options
author | Florian Pritz <bluewind@xssn.at> | 2011-07-24 12:07:51 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2011-07-24 12:07:51 +0200 |
commit | b8c33ee22e78f48f52bfde7328d20efe73493149 (patch) | |
tree | af5a3a56a5094facb1c00472c0b1a3be7478eca2 /vim/vim-7.2/7.2.356 | |
parent | 9c7f68c9ab1ed52a5c4c2cec57c71b15d2209f52 (diff) | |
parent | 34e8f8d7edc734b88753ff7cb0443f8489b02ee8 (diff) | |
download | aur-packages-b8c33ee22e78f48f52bfde7328d20efe73493149.tar.gz aur-packages-b8c33ee22e78f48f52bfde7328d20efe73493149.tar.xz |
Merge branch 'master' of git://git.server-speed.net/~flo/git/aur
Diffstat (limited to 'vim/vim-7.2/7.2.356')
-rw-r--r-- | vim/vim-7.2/7.2.356 | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/vim/vim-7.2/7.2.356 b/vim/vim-7.2/7.2.356 deleted file mode 100644 index 51b646c..0000000 --- a/vim/vim-7.2/7.2.356 +++ /dev/null @@ -1,69 +0,0 @@ -To: vim-dev@vim.org -Subject: Patch 7.2.356 -Fcc: outbox -From: Bram Moolenaar <Bram@moolenaar.net> -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 7.2.356 -Problem: When 'foldmethod' is changed not all folds are closed as expected. -Solution: In foldUpdate() correct the start position and reset fd_flags when - w_foldinvalid is set. (Lech Lorens) -Files: src/fold.c - - -*** ../vim-7.2.355/src/fold.c 2010-01-19 17:24:20.000000000 +0100 ---- src/fold.c 2010-02-03 18:08:11.000000000 +0100 -*************** -*** 849,859 **** - fold_T *fp; - - /* Mark all folds from top to bot as maybe-small. */ -! (void)foldFind(&curwin->w_folds, curwin->w_cursor.lnum, &fp); - while (fp < (fold_T *)curwin->w_folds.ga_data + curwin->w_folds.ga_len - && fp->fd_top < bot) - { - fp->fd_small = MAYBE; - ++fp; - } - ---- 849,865 ---- - fold_T *fp; - - /* Mark all folds from top to bot as maybe-small. */ -! (void)foldFind(&curwin->w_folds, top, &fp); - while (fp < (fold_T *)curwin->w_folds.ga_data + curwin->w_folds.ga_len - && fp->fd_top < bot) - { - fp->fd_small = MAYBE; -+ -+ /* Not sure if this is the right place to reset fd_flags (suggested by -+ * Lech Lorens). */ -+ if (wp->w_foldinvalid) -+ fp->fd_flags = FD_LEVEL; -+ - ++fp; - } - -*** ../vim-7.2.355/src/version.c 2010-02-03 17:42:59.000000000 +0100 ---- src/version.c 2010-02-03 18:12:34.000000000 +0100 -*************** -*** 683,684 **** ---- 683,686 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 356, - /**/ - --- -hundred-and-one symptoms of being an internet addict: -190. You quickly hand over your wallet, leather jacket, and car keys - during a mugging, then proceed to beat the crap out of your - assailant when he asks for your laptop. - - /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ -/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ -\\\ download, build and distribute -- http://www.A-A-P.org /// - \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |