Go to the documentation of this file.
21 #define ACTION_SPLIT 3
22 #define ACTION_SHOW_ALL 4
23 #define ACTION_EXPAND 5
26 #define SEARCH_REV 0x01
27 #define SEARCH_ECHO 0x02
28 #define SEARCH_MSG 0x0c
29 #define SEARCH_NFMSG 0x08
30 #define SEARCH_OPT 0x10
31 #define SEARCH_HIS 0x20
32 #define SEARCH_END 0x40
33 #define SEARCH_NOOF 0x80
34 #define SEARCH_START 0x100
35 #define SEARCH_MARK 0x200
36 #define SEARCH_KEEP 0x400
37 #define SEARCH_PEEK 0x800
38 #define SEARCH_COL 0x1000
41 #define FM_BACKWARD 0x01 // search backwards
42 #define FM_FORWARD 0x02 // search forwards
43 #define FM_BLOCKSTOP 0x04 // stop at start/end of block
44 #define FM_SKIPCOMM 0x08 // skip comments
48 #define RE_SEARCH 0 // save/use pat in/from search_pattern
49 #define RE_SUBST 1 // save/use pat in/from subst_pattern
50 #define RE_BOTH 2 // save pat in both patterns
51 #define RE_LAST 2 // use last used pattern if "pat" is NULL
54 #define SEARCH_STAT_DEF_TIMEOUT 40L
55 #define SEARCH_STAT_DEF_MAX_COUNT 99
56 #define SEARCH_STAT_BUF_LEN 12
59 #define MAX_FUZZY_MATCHES 256
100 #ifdef INCLUDE_GENERATED_DECLARATIONS
101 # include "search.h.generated.h"
103 #endif // NVIM_SEARCH_H
char dir
Search direction: forward ('/') or backward ('?')
Definition: search.h:66
Structure containing last search pattern and its attributes.
Definition: search.h:73
SearchOffset off
Pattern offset.
Definition: search.h:78
bool end
True if search sets cursor at the end.
Definition: search.h:68
int cnt
Definition: search.h:92
bool exact_match
Definition: search.h:93
dict_T * additional_data
Additional data from ShaDa file.
Definition: search.h:79
int sa_wrapped
search wrapped around
Definition: search.h:87
struct searchstat searchstat_T
uint64_t Timestamp
Definition: time.h:8
int64_t off
Actual offset value.
Definition: search.h:69
struct soffset SearchOffset
linenr_T sa_stop_lnum
stop after this line number when != 0
Definition: search.h:84
int incomplete
Definition: search.h:94
struct spat SearchPattern
Structure containing last search pattern and its attributes.
bool magic
Magicness of the pattern.
Definition: search.h:75
Optional extra arguments for searchit().
Definition: search.h:83
proftime_T * sa_tm
timeout limit or NULL
Definition: search.h:85
bool line
True if search has line offset.
Definition: search.h:67
int last_maxcount
Definition: search.h:97
bool no_scs
No smartcase for this pattern.
Definition: search.h:76
uint64_t proftime_T
Definition: profile.h:7
unsigned char char_u
Definition: types.h:12
int sa_timed_out
set when timed out
Definition: search.h:86
Definition: coverity-model.c:40
long linenr_T
Line number type.
Definition: pos.h:5
int cur
Definition: search.h:91
char_u * pat
The pattern (in allocated memory) or NULL.
Definition: search.h:74
Timestamp timestamp
Time of the last change.
Definition: search.h:77