1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | void copyFoldingState(win_T *wp_from, win_T *wp_to); |
7 | int hasAnyFolding(win_T *win); |
8 | _Bool hasFolding(linenr_T lnum, linenr_T *firstp, linenr_T *lastp); |
9 | _Bool hasFoldingWin(win_T *const win, const linenr_T lnum, linenr_T *const firstp, linenr_T *const lastp, const _Bool cache, foldinfo_T *const infop ); |
10 | int foldLevel(linenr_T lnum); |
11 | _Bool lineFolded(win_T *const win, const linenr_T lnum); |
12 | long foldedCount(win_T *win, linenr_T lnum, foldinfo_T *infop); |
13 | int foldmethodIsManual(win_T *wp); |
14 | int foldmethodIsIndent(win_T *wp); |
15 | int foldmethodIsExpr(win_T *wp); |
16 | int foldmethodIsMarker(win_T *wp); |
17 | int foldmethodIsSyntax(win_T *wp); |
18 | int foldmethodIsDiff(win_T *wp); |
19 | void closeFold(linenr_T lnum, long count); |
20 | void closeFoldRecurse(linenr_T lnum); |
21 | void opFoldRange(linenr_T first, linenr_T last, int opening, int recurse, int had_visual ); |
22 | void openFold(linenr_T lnum, long count); |
23 | void openFoldRecurse(linenr_T lnum); |
24 | void foldOpenCursor(void); |
25 | void newFoldLevel(void); |
26 | void foldCheckClose(void); |
27 | int foldManualAllowed(int create); |
28 | void foldCreate(linenr_T start, linenr_T end); |
29 | void deleteFold(const linenr_T start, const linenr_T end, const int recursive, const _Bool had_visual ); |
30 | void clearFolding(win_T *win); |
31 | void foldUpdate(win_T *wp, linenr_T top, linenr_T bot); |
32 | void foldUpdateAfterInsert(void); |
33 | void foldUpdateAll(win_T *win); |
34 | int foldMoveTo(const _Bool updown, const int dir, const long count ); |
35 | void foldInitWin(win_T *new_win); |
36 | int find_wl_entry(win_T *win, linenr_T lnum); |
37 | void foldAdjustVisual(void); |
38 | void foldAdjustCursor(void); |
39 | void cloneFoldGrowArray(garray_T *from, garray_T *to); |
40 | void deleteFoldRecurse(garray_T *gap); |
41 | void foldMarkAdjust(win_T *wp, linenr_T line1, linenr_T line2, long amount, long amount_after); |
42 | int getDeepestNesting(void); |
43 | char_u *get_foldtext(win_T *wp, linenr_T lnum, linenr_T lnume, foldinfo_T *foldinfo, char_u *buf) FUNC_ATTR_NONNULL_ARG(1); |
44 | void foldtext_cleanup(char_u *str); |
45 | void foldMoveRange(garray_T *gap, const linenr_T line1, const linenr_T line2, const linenr_T dest); |
46 | int put_folds(FILE *fd, win_T *wp); |
47 | #include "nvim/func_attr.h" |
48 | |