14
14
* Arguments for operators.
16
16
typedef struct oparg_S {
17
int op_type; /* current pending operator type */
18
int regname; /* register to use for the operator */
19
int motion_type; /* type of the current cursor motion */
20
int motion_force; /* force motion type: 'v', 'V' or CTRL-V */
21
bool use_reg_one; /* true if delete uses reg 1 even when not
23
bool inclusive; /* true if char motion is inclusive (only
24
valid when motion_type is MCHAR */
25
bool end_adjusted; /* backuped b_op_end one char (only used by
27
pos_T start; /* start of the operator */
28
pos_T end; /* end of the operator */
29
pos_T cursor_start; /* cursor position before motion for "gw" */
17
int op_type; // current pending operator type
18
int regname; // register to use for the operator
19
int motion_type; // type of the current cursor motion
20
int motion_force; // force motion type: 'v', 'V' or CTRL-V
21
bool use_reg_one; // true if delete uses reg 1 even when not
23
bool inclusive; // true if char motion is inclusive (only
24
// valid when motion_type is MCHAR)
25
bool end_adjusted; // backuped b_op_end one char (only used by
27
pos_T start; // start of the operator
28
pos_T end; // end of the operator
29
pos_T cursor_start; // cursor position before motion for "gw"
31
long line_count; /* number of lines from op_start to op_end
33
bool empty; /* op_start and op_end the same (only used by
35
bool is_VIsual; /* operator on Visual area */
36
bool block_mode; /* current operator is Visual block mode */
37
colnr_T start_vcol; /* start col for block mode operator */
38
colnr_T end_vcol; /* end col for block mode operator */
31
long line_count; // number of lines from op_start to op_end
33
bool empty; // op_start and op_end the same (only used by
35
bool is_VIsual; // operator on Visual area
36
colnr_T start_vcol; // start col for block mode operator
37
colnr_T end_vcol; // end col for block mode operator
39
38
long prev_opcount; // ca.opcount saved for K_EVENT
40
39
long prev_count0; // ca.count0 saved for K_EVENT