comparison src/proto/search.pro @ 6991:814f1f569e4a v7.4.813

patch 7.4.813 Problem: It is not possible to save and restore character search state. Solution: Add getcharsearch() and setcharsearch(). (James McCoy)
author Bram Moolenaar <bram@vim.org>
date Tue, 11 Aug 2015 14:26:19 +0200
parents f673842874b6
children 21b0a39d13ed
comparison
equal deleted inserted replaced
6990:9c248be4e7d2 6991:814f1f569e4a
6 void save_search_patterns __ARGS((void)); 6 void save_search_patterns __ARGS((void));
7 void restore_search_patterns __ARGS((void)); 7 void restore_search_patterns __ARGS((void));
8 void free_search_patterns __ARGS((void)); 8 void free_search_patterns __ARGS((void));
9 int ignorecase __ARGS((char_u *pat)); 9 int ignorecase __ARGS((char_u *pat));
10 int pat_has_uppercase __ARGS((char_u *pat)); 10 int pat_has_uppercase __ARGS((char_u *pat));
11 char_u *last_csearch __ARGS((void));
12 int last_csearch_forward __ARGS((void));
13 int last_csearch_until __ARGS((void));
14 void set_last_csearch __ARGS((int c, char_u *s, int len));
15 void set_csearch_direction __ARGS((int cdir));
16 void set_csearch_until __ARGS((int t_cmd));
11 char_u *last_search_pat __ARGS((void)); 17 char_u *last_search_pat __ARGS((void));
12 void reset_search_dir __ARGS((void)); 18 void reset_search_dir __ARGS((void));
13 void set_last_search_pat __ARGS((char_u *s, int idx, int magic, int setlast)); 19 void set_last_search_pat __ARGS((char_u *s, int idx, int magic, int setlast));
14 void last_pat_prog __ARGS((regmmatch_T *regmatch)); 20 void last_pat_prog __ARGS((regmmatch_T *regmatch));
15 int searchit __ARGS((win_T *win, buf_T *buf, pos_T *pos, int dir, char_u *pat, long count, int options, int pat_use, linenr_T stop_lnum, proftime_T *tm)); 21 int searchit __ARGS((win_T *win, buf_T *buf, pos_T *pos, int dir, char_u *pat, long count, int options, int pat_use, linenr_T stop_lnum, proftime_T *tm));