mark_defs.h
Go to the documentation of this file.
1 #ifndef NVIM_MARK_DEFS_H
2 #define NVIM_MARK_DEFS_H
3 
4 #include "nvim/pos.h"
5 #include "nvim/os/time.h"
6 #include "nvim/eval/typval.h"
7 
8 /*
9  * marks: positions in a file
10  * (a normal mark is a lnum/col pair, the same as a file position)
11  */
12 
14 #define EXTRA_MARKS ('9' - '0' + 1)
15 
17 #define NMARKS ('z' - 'a' + 1)
18 
20 #define NGLOBALMARKS (NMARKS + EXTRA_MARKS)
21 
26 #define NLOCALMARKS (NMARKS + 3)
27 
29 #define JUMPLISTSIZE 100
30 
32 #define TAGSTACKSIZE 20
33 
35 typedef struct filemark {
37  int fnum;
40 } fmark_T;
41 
43 typedef struct xfilemark {
46 } xfmark_T;
47 
48 #endif // NVIM_MARK_DEFS_H
pos_T mark
Cursor position.
Definition: mark_defs.h:36
struct xfilemark xfmark_T
Structure defining extended mark (mark with file name attached)
Structure defining extended mark (mark with file name attached)
Definition: mark_defs.h:43
char_u * fname
File name, used when fnum == 0.
Definition: mark_defs.h:45
struct filemark fmark_T
Structure defining single local mark.
Timestamp timestamp
Time when this mark was last set.
Definition: mark_defs.h:38
Structure defining single local mark.
Definition: mark_defs.h:35
dict_T * additional_data
Additional data from ShaDa file.
Definition: mark_defs.h:39
Definition: coverity-model.c:66
int fnum
File number.
Definition: mark_defs.h:37
unsigned char char_u
Definition: types.h:11
Definition: pos.h:21
fmark_T fmark
Actual mark.
Definition: mark_defs.h:44
uint64_t Timestamp
Definition: time.h:8