Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* mark.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | int setmark(int c); |
| 3 | int setmark_pos(int c, pos_T *pos, int fnum); |
| 4 | void setpcmark(void); |
| 5 | void checkpcmark(void); |
| 6 | pos_T *movemark(int count); |
| 7 | pos_T *movechangelist(int count); |
| 8 | pos_T *getmark_buf(buf_T *buf, int c, int changefile); |
| 9 | pos_T *getmark(int c, int changefile); |
| 10 | pos_T *getmark_buf_fnum(buf_T *buf, int c, int changefile, int *fnum); |
| 11 | pos_T *getnextmark(pos_T *startpos, int dir, int begin_line); |
| 12 | void fmarks_check_names(buf_T *buf); |
| 13 | int check_mark(pos_T *pos); |
| 14 | void clrallmarks(buf_T *buf); |
| 15 | char_u *fm_getname(fmark_T *fmark, int lead_len); |
| 16 | void do_marks(exarg_T *eap); |
| 17 | void ex_delmarks(exarg_T *eap); |
| 18 | void ex_jumps(exarg_T *eap); |
Bram Moolenaar | 2d35899 | 2016-06-12 21:20:54 +0200 | [diff] [blame] | 19 | void ex_clearjumps(exarg_T *eap); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 20 | void ex_changes(exarg_T *eap); |
| 21 | void mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after); |
| 22 | void mark_col_adjust(linenr_T lnum, colnr_T mincol, long lnum_amount, long col_amount); |
| 23 | void copy_jumplist(win_T *from, win_T *to); |
| 24 | void free_jumplist(win_T *wp); |
| 25 | void set_last_cursor(win_T *win); |
| 26 | void free_all_marks(void); |
| 27 | int read_viminfo_filemark(vir_T *virp, int force); |
Bram Moolenaar | 2d35899 | 2016-06-12 21:20:54 +0200 | [diff] [blame] | 28 | void prepare_viminfo_marks(void); |
| 29 | void finish_viminfo_marks(void); |
| 30 | void handle_viminfo_mark(garray_T *values, int force); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 31 | void write_viminfo_filemarks(FILE *fp); |
| 32 | int removable(char_u *name); |
| 33 | int write_viminfo_marks(FILE *fp_out); |
| 34 | void copy_viminfo_marks(vir_T *virp, FILE *fp_out, int count, int eof, int flags); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 35 | /* vim: set ft=c : */ |