annotate src/proto/search.pro @ 7074:c8efa41dd451 v7.4.849

commit https://github.com/vim/vim/commit/8b5f65a527c353b9942e362e719687c3a7592309 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 1 19:26:12 2015 +0200 patch 7.4.849 Problem: Moving the cursor in Insert mode starts new undo sequence. Solution: Add CTRL-G U to keep the undo sequence for the following cursor movement command. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Tue, 01 Sep 2015 19:30:04 +0200
parents 814f1f569e4a
children 21b0a39d13ed
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 */
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
2 int search_regcomp __ARGS((char_u *pat, int pat_save, int pat_use, int options, regmmatch_T *regmatch));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
3 char_u *get_search_pat __ARGS((void));
1344
843bfffb04c7 updated for version 7.1-058
vimboss
parents: 1125
diff changeset
4 char_u *reverse_text __ARGS((char_u *s));
6426
f673842874b6 updated for version 7.4.543
Bram Moolenaar <bram@vim.org>
parents: 3929
diff changeset
5 void save_re_pat __ARGS((int idx, char_u *pat, int magic));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
6 void save_search_patterns __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
7 void restore_search_patterns __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
8 void free_search_patterns __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
9 int ignorecase __ARGS((char_u *pat));
2302
488be8cbe19c Make CTRL-L in command line mode respect 'ignorecase' and 'smartcase'. (Martin
Bram Moolenaar <bram@vim.org>
parents: 1624
diff changeset
10 int pat_has_uppercase __ARGS((char_u *pat));
6991
814f1f569e4a patch 7.4.813
Bram Moolenaar <bram@vim.org>
parents: 6426
diff changeset
11 char_u *last_csearch __ARGS((void));
814f1f569e4a patch 7.4.813
Bram Moolenaar <bram@vim.org>
parents: 6426
diff changeset
12 int last_csearch_forward __ARGS((void));
814f1f569e4a patch 7.4.813
Bram Moolenaar <bram@vim.org>
parents: 6426
diff changeset
13 int last_csearch_until __ARGS((void));
814f1f569e4a patch 7.4.813
Bram Moolenaar <bram@vim.org>
parents: 6426
diff changeset
14 void set_last_csearch __ARGS((int c, char_u *s, int len));
814f1f569e4a patch 7.4.813
Bram Moolenaar <bram@vim.org>
parents: 6426
diff changeset
15 void set_csearch_direction __ARGS((int cdir));
814f1f569e4a patch 7.4.813
Bram Moolenaar <bram@vim.org>
parents: 6426
diff changeset
16 void set_csearch_until __ARGS((int t_cmd));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
17 char_u *last_search_pat __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
18 void reset_search_dir __ARGS((void));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
19 void set_last_search_pat __ARGS((char_u *s, int idx, int magic, int setlast));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
20 void last_pat_prog __ARGS((regmmatch_T *regmatch));
1496
29c09fa57168 updated for version 7.1-211
vimboss
parents: 1344
diff changeset
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));
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 1521
diff changeset
22 void set_search_direction __ARGS((int cdir));
1521
cc4fe241baa3 updated for version 7.1-236
vimboss
parents: 1496
diff changeset
23 int do_search __ARGS((oparg_T *oap, int dirc, char_u *pat, long count, int options, proftime_T *tm));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
24 int search_for_exact_line __ARGS((buf_T *buf, pos_T *pos, int dir, char_u *pat));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
25 int searchc __ARGS((cmdarg_T *cap, int t_cmd));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
26 pos_T *findmatch __ARGS((oparg_T *oap, int initc));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
27 pos_T *findmatchlimit __ARGS((oparg_T *oap, int initc, int flags, int maxtravel));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
28 void showmatch __ARGS((int c));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
29 int findsent __ARGS((int dir, long count));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
30 int findpar __ARGS((int *pincl, int dir, long count, int what, int both));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
31 int startPS __ARGS((linenr_T lnum, int para, int both));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
32 int fwd_word __ARGS((long count, int bigword, int eol));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
33 int bck_word __ARGS((long count, int bigword, int stop));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
34 int end_word __ARGS((long count, int bigword, int stop, int empty));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
35 int bckend_word __ARGS((long count, int bigword, int eol));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
36 int current_word __ARGS((oparg_T *oap, long count, int include, int bigword));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
37 int current_sent __ARGS((oparg_T *oap, long count, int include));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
38 int current_block __ARGS((oparg_T *oap, long count, int include, int what, int other));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
39 int current_tagblock __ARGS((oparg_T *oap, long count_arg, int include));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
40 int current_par __ARGS((oparg_T *oap, long count, int include, int type));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
41 int current_quote __ARGS((oparg_T *oap, long count, int include, int quotechar));
3929
9e119e0ade5d updated for version 7.3.720
Bram Moolenaar <bram@vim.org>
parents: 3701
diff changeset
42 int current_search __ARGS((long count, int forward));
1125
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
43 int linewhite __ARGS((linenr_T lnum));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
44 void find_pattern_in_path __ARGS((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));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
45 int read_viminfo_search_pattern __ARGS((vir_T *virp, int force));
96cd8222a819 updated for version 7.1a
vimboss
parents: 800
diff changeset
46 void write_viminfo_search_pattern __ARGS((FILE *fp));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 /* vim: set ft=c : */