annotate src/proto/search.pro @ 28507:73f235d0b6c8 v8.2.4778

patch 8.2.4778: pacman files use dosini filetype Commit: https://github.com/vim/vim/commit/35cff32dd82e5e2b72453b9f27d0655fc5b8a639 Author: Chaoren Lin <aoe@google.com> Date: Sun Apr 17 21:15:48 2022 +0100 patch 8.2.4778: pacman files use dosini filetype Problem: Pacman files use dosini filetype. Solution: Use conf instead. (Chaoren Lin, closes https://github.com/vim/vim/issues/10213)
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Apr 2022 22:30:03 +0200
parents 813660733869
children 0e92ffdd9ea7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* search.c */
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
2 int search_regcomp(char_u *pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
3 char_u *get_search_pat(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
4 char_u *reverse_text(char_u *s);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
5 void save_re_pat(int idx, char_u *pat, int magic);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
6 void save_search_patterns(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
7 void restore_search_patterns(void);
13963
1174611ad715 Vim 8.1 release
Christian Brabandt <cb@256bit.org>
parents: 12855
diff changeset
8 void free_search_patterns(void);
12720
37c384802df4 patch 8.0.1238: incremental search only shows one match
Christian Brabandt <cb@256bit.org>
parents: 11521
diff changeset
9 void save_last_search_pattern(void);
37c384802df4 patch 8.0.1238: incremental search only shows one match
Christian Brabandt <cb@256bit.org>
parents: 11521
diff changeset
10 void restore_last_search_pattern(void);
12855
3c09e451af3a patch 8.0.1304: CTRL-G/CTRL-T don't work with incsearch and empty pattern
Christian Brabandt <cb@256bit.org>
parents: 12720
diff changeset
11 char_u *last_search_pattern(void);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
12 int ignorecase(char_u *pat);
9913
bb00c661b3a4 commit https://github.com/vim/vim/commit/66e29d7112e437b2b50efe1f82c7e892736d23e4
Christian Brabandt <cb@256bit.org>
parents: 7668
diff changeset
13 int ignorecase_opt(char_u *pat, int ic_in, int scs);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
14 int pat_has_uppercase(char_u *pat);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
15 char_u *last_csearch(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
16 int last_csearch_forward(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
17 int last_csearch_until(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
18 void set_last_csearch(int c, char_u *s, int len);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
19 void set_csearch_direction(int cdir);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
20 void set_csearch_until(int t_cmd);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
21 char_u *last_search_pat(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
22 void reset_search_dir(void);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
23 void set_last_search_pat(char_u *s, int idx, int magic, int setlast);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
24 void last_pat_prog(regmmatch_T *regmatch);
18358
34d5cd432cac patch 8.1.2173: searchit() has too many arguments
Bram Moolenaar <Bram@vim.org>
parents: 17476
diff changeset
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);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
26 void set_search_direction(int cdir);
19475
5512aa74cb62 patch 8.2.0295: highlighting for :s wrong when using different separator
Bram Moolenaar <Bram@vim.org>
parents: 19384
diff changeset
27 int do_search(oparg_T *oap, int dirc, int search_delim, char_u *pat, long count, int options, searchit_arg_T *sia);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
28 int search_for_exact_line(buf_T *buf, pos_T *pos, int dir, char_u *pat);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
29 int searchc(cmdarg_T *cap, int t_cmd);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
30 pos_T *findmatch(oparg_T *oap, int initc);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
31 pos_T *findmatchlimit(oparg_T *oap, int initc, int flags, int maxtravel);
26516
9596c652420b patch 8.2.3787: no proper formatting of a C line comment after a statement
Bram Moolenaar <Bram@vim.org>
parents: 24547
diff changeset
32 int check_linecomment(char_u *line);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
33 void showmatch(int c);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
34 int current_search(long count, int forward);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
35 int linewhite(linenr_T lnum);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 6991
diff changeset
36 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);
18358
34d5cd432cac patch 8.1.2173: searchit() has too many arguments
Bram Moolenaar <Bram@vim.org>
parents: 17476
diff changeset
37 spat_T *get_spat(int idx);
17476
d4b2a212fa2f patch 8.1.1736: viminfo support is spread out
Bram Moolenaar <Bram@vim.org>
parents: 15239
diff changeset
38 int get_spat_last_idx(void);
20647
8a2b86a39ef4 patch 8.2.0877: cannot get the search statistics
Bram Moolenaar <Bram@vim.org>
parents: 20209
diff changeset
39 void f_searchcount(typval_T *argvars, typval_T *rettv);
24547
192058cad081 patch 8.2.2813: cannot grep using fuzzy matching
Bram Moolenaar <Bram@vim.org>
parents: 22355
diff changeset
40 int fuzzy_match(char_u *str, char_u *pat_arg, int matchseq, int *outScore, int_u *matches, int maxMatches);
22232
f22acf6472da patch 8.2.1665: cannot do fuzzy string matching
Bram Moolenaar <Bram@vim.org>
parents: 20647
diff changeset
41 void f_matchfuzzy(typval_T *argvars, typval_T *rettv);
22355
0491b9cafd44 patch 8.2.1726: fuzzy matching only works on strings
Bram Moolenaar <Bram@vim.org>
parents: 22232
diff changeset
42 void f_matchfuzzypos(typval_T *argvars, typval_T *rettv);
27875
ae38d2e81fca patch 8.2.4463: completion only uses strict matching
Bram Moolenaar <Bram@vim.org>
parents: 26516
diff changeset
43 int fuzzy_match_str(char_u *str, char_u *pat);
28415
813660733869 patch 8.2.4732: duplicate code to free fuzzy matches
Bram Moolenaar <Bram@vim.org>
parents: 28405
diff changeset
44 void fuzmatch_str_free(fuzmatch_str_T *fuzmatch, int count);
813660733869 patch 8.2.4732: duplicate code to free fuzzy matches
Bram Moolenaar <Bram@vim.org>
parents: 28405
diff changeset
45 int fuzzymatches_to_strmatches(fuzmatch_str_T *fuzmatch, char_u ***matches, int count, int funcsort);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 /* vim: set ft=c : */