annotate src/proto/fold.pro @ 4053:29f29e86602e v7.3.781

updated for version 7.3.781 Problem: Drawing with 'guifontwide' can be slow. Solution: Draw multiple characters at a time. (Taro Muraoka)
author Bram Moolenaar <bram@vim.org>
date Wed, 23 Jan 2013 17:43:57 +0100
parents 9e119e0ade5d
children 21b0a39d13ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* fold.c */
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
2 void copyFoldingState __ARGS((win_T *wp_from, win_T *wp_to));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
3 int hasAnyFolding __ARGS((win_T *win));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
4 int hasFolding __ARGS((linenr_T lnum, linenr_T *firstp, linenr_T *lastp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
5 int hasFoldingWin __ARGS((win_T *win, linenr_T lnum, linenr_T *firstp, linenr_T *lastp, int cache, foldinfo_T *infop));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
6 int foldLevel __ARGS((linenr_T lnum));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
7 int lineFolded __ARGS((win_T *win, linenr_T lnum));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
8 long foldedCount __ARGS((win_T *win, linenr_T lnum, foldinfo_T *infop));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
9 int foldmethodIsManual __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
10 int foldmethodIsIndent __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
11 int foldmethodIsExpr __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
12 int foldmethodIsMarker __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
13 int foldmethodIsSyntax __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
14 int foldmethodIsDiff __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
15 void closeFold __ARGS((linenr_T lnum, long count));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
16 void closeFoldRecurse __ARGS((linenr_T lnum));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
17 void opFoldRange __ARGS((linenr_T first, linenr_T last, int opening, int recurse, int had_visual));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
18 void openFold __ARGS((linenr_T lnum, long count));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
19 void openFoldRecurse __ARGS((linenr_T lnum));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
20 void foldOpenCursor __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
21 void newFoldLevel __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
22 void foldCheckClose __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
23 int foldManualAllowed __ARGS((int create));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
24 void foldCreate __ARGS((linenr_T start, linenr_T end));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
25 void deleteFold __ARGS((linenr_T start, linenr_T end, int recursive, int had_visual));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
26 void clearFolding __ARGS((win_T *win));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
27 void foldUpdate __ARGS((win_T *wp, linenr_T top, linenr_T bot));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
28 void foldUpdateAll __ARGS((win_T *win));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
29 int foldMoveTo __ARGS((int updown, int dir, long count));
3929
9e119e0ade5d updated for version 7.3.720
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
30 void foldInitWin __ARGS((win_T *new_win));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
31 int find_wl_entry __ARGS((win_T *win, linenr_T lnum));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
32 void foldAdjustVisual __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
33 void foldAdjustCursor __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
34 void cloneFoldGrowArray __ARGS((garray_T *from, garray_T *to));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
35 void deleteFoldRecurse __ARGS((garray_T *gap));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
36 void foldMarkAdjust __ARGS((win_T *wp, linenr_T line1, linenr_T line2, long amount, long amount_after));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
37 int getDeepestNesting __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
38 char_u *get_foldtext __ARGS((win_T *wp, linenr_T lnum, linenr_T lnume, foldinfo_T *foldinfo, char_u *buf));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
39 void foldtext_cleanup __ARGS((char_u *str));
e63691e7c504 updated for version 7.1a
vimboss
parents: 799
diff changeset
40 int put_folds __ARGS((FILE *fd, win_T *wp));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 /* vim: set ft=c : */