Mercurial > vim
comparison src/proto/mark.pro @ 13248:5958573d8a72 v8.0.1498
patch 8.0.1498: getjumplist() returns duplicate entries
commit https://github.com/vim/vim/commit/a7e18d237f817637815f0de44b08df1e0ca0f4f9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 11 14:29:49 2018 +0100
patch 8.0.1498: getjumplist() returns duplicate entries
Problem: Getjumplist() returns duplicate entries. (lacygoill)
Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 11 Feb 2018 14:30:06 +0100 |
parents | 6b26e044b6f5 |
children | 28ae299c6af0 |
comparison
equal
deleted
inserted
replaced
13247:698ff552c830 | 13248:5958573d8a72 |
---|---|
7 pos_T *movechangelist(int count); | 7 pos_T *movechangelist(int count); |
8 pos_T *getmark_buf(buf_T *buf, int c, int changefile); | 8 pos_T *getmark_buf(buf_T *buf, int c, int changefile); |
9 pos_T *getmark(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); | 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); | 11 pos_T *getnextmark(pos_T *startpos, int dir, int begin_line); |
12 void fname2fnum(xfmark_T *fm); | |
12 void fmarks_check_names(buf_T *buf); | 13 void fmarks_check_names(buf_T *buf); |
13 int check_mark(pos_T *pos); | 14 int check_mark(pos_T *pos); |
14 void clrallmarks(buf_T *buf); | 15 void clrallmarks(buf_T *buf); |
15 char_u *fm_getname(fmark_T *fmark, int lead_len); | 16 char_u *fm_getname(fmark_T *fmark, int lead_len); |
16 void do_marks(exarg_T *eap); | 17 void do_marks(exarg_T *eap); |
21 void mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after); | 22 void mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after); |
22 void mark_adjust_nofold(linenr_T line1, linenr_T line2, long amount, long amount_after); | 23 void mark_adjust_nofold(linenr_T line1, linenr_T line2, long amount, long amount_after); |
23 void mark_col_adjust(linenr_T lnum, colnr_T mincol, long lnum_amount, long col_amount); | 24 void mark_col_adjust(linenr_T lnum, colnr_T mincol, long lnum_amount, long col_amount); |
24 void copy_jumplist(win_T *from, win_T *to); | 25 void copy_jumplist(win_T *from, win_T *to); |
25 void free_jumplist(win_T *wp); | 26 void free_jumplist(win_T *wp); |
27 void cleanup_jumplist(win_T *wp); | |
26 void set_last_cursor(win_T *win); | 28 void set_last_cursor(win_T *win); |
27 void free_all_marks(void); | 29 void free_all_marks(void); |
28 int read_viminfo_filemark(vir_T *virp, int force); | 30 int read_viminfo_filemark(vir_T *virp, int force); |
29 void prepare_viminfo_marks(void); | 31 void prepare_viminfo_marks(void); |
30 void finish_viminfo_marks(void); | 32 void finish_viminfo_marks(void); |