comparison src/proto/ex_getln.pro @ 17460:e43f0c0c491c v8.1.1728

patch 8.1.1728: wrong place for command line history viminfo support commit https://github.com/vim/vim/commit/5f32ece459d1f310b1b48b72e07dcd77d3261a76 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 21 21:51:59 2019 +0200 patch 8.1.1728: wrong place for command line history viminfo support Problem: Wrong place for command line history viminfo support. Solution: Move it to viminfo.c.
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Jul 2019 22:00:05 +0200
parents a9556c0ba457
children 9efb4dda9720
comparison
equal deleted inserted replaced
17459:02dc4260ddbb 17460:e43f0c0c491c
32 char_u *addstar(char_u *fname, int len, int context); 32 char_u *addstar(char_u *fname, int len, int context);
33 void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline); 33 void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline);
34 int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches); 34 int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches);
35 int ExpandGeneric(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int)), int escaped); 35 int ExpandGeneric(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int)), int escaped);
36 void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options); 36 void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options);
37 int hist_char2type(int c);
37 void init_history(void); 38 void init_history(void);
39 void clear_hist_entry(histentry_T *hisptr);
40 int in_history(int type, char_u *str, int move_to_front, int sep, int writing);
38 int get_histtype(char_u *name); 41 int get_histtype(char_u *name);
39 void add_to_history(int histype, char_u *new_entry, int in_map, int sep); 42 void add_to_history(int histype, char_u *new_entry, int in_map, int sep);
40 int get_history_idx(int histype); 43 int get_history_idx(int histype);
41 char_u *get_history_entry(int histype, int idx); 44 char_u *get_history_entry(int histype, int idx);
42 int clr_history(int histype); 45 int clr_history(int histype);
47 int get_cmdline_pos(void); 50 int get_cmdline_pos(void);
48 int set_cmdline_pos(int pos); 51 int set_cmdline_pos(int pos);
49 int get_cmdline_type(void); 52 int get_cmdline_type(void);
50 int get_list_range(char_u **str, int *num1, int *num2); 53 int get_list_range(char_u **str, int *num1, int *num2);
51 void ex_history(exarg_T *eap); 54 void ex_history(exarg_T *eap);
52 void prepare_viminfo_history(int asklen, int writing); 55 int get_hislen(void);
53 int read_viminfo_history(vir_T *virp, int writing); 56 histentry_T *get_histentry(int hist_type);
54 void handle_viminfo_history(garray_T *values, int writing); 57 void set_histentry(int hist_type, histentry_T *entry);
55 void finish_viminfo_history(vir_T *virp); 58 int *get_hisidx(int hist_type);
56 void write_viminfo_history(FILE *fp, int merge); 59 int *get_hisnum(int hist_type);
57 char_u *script_get(exarg_T *eap, char_u *cmd); 60 char_u *script_get(exarg_T *eap, char_u *cmd);
58 /* vim: set ft=c : */ 61 /* vim: set ft=c : */