diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-14 21:53:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-14 21:53:58 +0100 |
commit | 88d298aed8682eac872ebfe40df3112a6acd83e8 (patch) | |
tree | 26123c3b8e8a4bdfae26c82d2eae76ad0bf16f33 /src/proto/fold.pro | |
parent | 84be8b66604ef28c0e249284da3c6f0cab1c25ae (diff) | |
download | vim-git-88d298aed8682eac872ebfe40df3112a6acd83e8.tar.gz |
patch 8.0.0457: using :move messes up manual foldsv8.0.0457
Problem: Using :move messes up manual folds.
Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim
patch #6221)
Diffstat (limited to 'src/proto/fold.pro')
-rw-r--r-- | src/proto/fold.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/fold.pro b/src/proto/fold.pro index dce180381..cda536b27 100644 --- a/src/proto/fold.pro +++ b/src/proto/fold.pro @@ -31,6 +31,7 @@ void foldInitWin(win_T *new_win); int find_wl_entry(win_T *win, linenr_T lnum); void foldAdjustVisual(void); void foldAdjustCursor(void); +void foldMoveRange(garray_T *gap, linenr_T line1, linenr_T line2, linenr_T dest); void cloneFoldGrowArray(garray_T *from, garray_T *to); void deleteFoldRecurse(garray_T *gap); void foldMarkAdjust(win_T *wp, linenr_T line1, linenr_T line2, long amount, long amount_after); |