comparison src/proto/search.pro @ 18358:34d5cd432cac v8.1.2173

patch 8.1.2173: searchit() has too many arguments Commit: https://github.com/vim/vim/commit/92ea26b925a0835badb0af2d5887238a4198cabb Author: Bram Moolenaar <Bram@vim.org> Date: Fri Oct 18 20:53:34 2019 +0200 patch 8.1.2173: searchit() has too many arguments Problem: Searchit() has too many arguments. Solution: Move optional arguments to a struct. Add the "wrapped" argument.
author Bram Moolenaar <Bram@vim.org>
date Fri, 18 Oct 2019 21:00:04 +0200
parents d4b2a212fa2f
children 6fd567c927c0
comparison
equal deleted inserted replaced
18357:ffe2ff94a3e0 18358:34d5cd432cac
20 void set_csearch_until(int t_cmd); 20 void set_csearch_until(int t_cmd);
21 char_u *last_search_pat(void); 21 char_u *last_search_pat(void);
22 void reset_search_dir(void); 22 void reset_search_dir(void);
23 void set_last_search_pat(char_u *s, int idx, int magic, int setlast); 23 void set_last_search_pat(char_u *s, int idx, int magic, int setlast);
24 void last_pat_prog(regmmatch_T *regmatch); 24 void last_pat_prog(regmmatch_T *regmatch);
25 int searchit(win_T *win, buf_T *buf, pos_T *pos, pos_T *end_pos, int dir, char_u *pat, long count, int options, int pat_use, linenr_T stop_lnum, proftime_T *tm, int *timed_out); 25 int searchit(win_T *win, buf_T *buf, pos_T *pos, pos_T *end_pos, int dir, char_u *pat, long count, int options, int pat_use, searchit_arg_T *extra_arg);
26 void set_search_direction(int cdir); 26 void set_search_direction(int cdir);
27 int do_search(oparg_T *oap, int dirc, char_u *pat, long count, int options, proftime_T *tm, int *timed_out); 27 int do_search(oparg_T *oap, int dirc, char_u *pat, long count, int options, searchit_arg_T *sia);
28 int search_for_exact_line(buf_T *buf, pos_T *pos, int dir, char_u *pat); 28 int search_for_exact_line(buf_T *buf, pos_T *pos, int dir, char_u *pat);
29 int searchc(cmdarg_T *cap, int t_cmd); 29 int searchc(cmdarg_T *cap, int t_cmd);
30 pos_T *findmatch(oparg_T *oap, int initc); 30 pos_T *findmatch(oparg_T *oap, int initc);
31 pos_T *findmatchlimit(oparg_T *oap, int initc, int flags, int maxtravel); 31 pos_T *findmatchlimit(oparg_T *oap, int initc, int flags, int maxtravel);
32 void showmatch(int c); 32 void showmatch(int c);
44 int current_par(oparg_T *oap, long count, int include, int type); 44 int current_par(oparg_T *oap, long count, int include, int type);
45 int current_quote(oparg_T *oap, long count, int include, int quotechar); 45 int current_quote(oparg_T *oap, long count, int include, int quotechar);
46 int current_search(long count, int forward); 46 int current_search(long count, int forward);
47 int linewhite(linenr_T lnum); 47 int linewhite(linenr_T lnum);
48 void find_pattern_in_path(char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum); 48 void find_pattern_in_path(char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum);
49 struct spat *get_spat(int idx); 49 spat_T *get_spat(int idx);
50 int get_spat_last_idx(void); 50 int get_spat_last_idx(void);
51 /* vim: set ft=c : */ 51 /* vim: set ft=c : */