| /vim-8.2.3635/src/ |
| H A D | ops.c | 900 n = oap->end.col - oap->start.col + 1 - !oap->inclusive; in op_delete() 1198 && oap->start.col == oap->end.col && oap->start.coladd) in op_replace() 1225 changed_lines(oap->start.lnum, oap->start.col, oap->end.lnum + 1, 0L); in op_replace() 1307 changed_lines(oap->start.lnum, oap->start.col, oap->end.lnum + 1, in op_tilde() 1595 && oap->end.col + oap->end.coladd in op_insert() 1754 if (oap->block_mode && oap->start.lnum != oap->end.lnum && !got_int) in op_change() 3266 if (oap->end.lnum != oap->start.lnum) in op_colon() 3464 oparg_T *oap = cap->oap; in do_pending_operator() local 3520 oap->inclusive = !oap->inclusive; in do_pending_operator() 3702 oap->end = oap->start; in do_pending_operator() [all …]
|
| H A D | normal.c | 485 oparg_T *oap, in normal_cmd() argument 505 ca.oap = oap; in normal_cmd() 545 if (oap->prev_opcount > 0 || oap->prev_count0 > 0) in normal_cmd() 741 clearopbeep(oap); in normal_cmd() 1063 clearop(oap); in normal_cmd() 1110 clearop(oap); in normal_cmd() 1239 if (oap->op_type == OP_NOP && oap->regname == 0 in normal_cmd() 1762 clearop(oap); in clearopbeep() 4345 oparg_T *oap = cap->oap; in nv_search() local 4363 clearop(oap); in nv_search() [all …]
|
| H A D | register.c | 1149 if (oap->regname != 0 && !valid_yank_reg(oap->regname, TRUE)) in op_yank() 1159 oap->regname = 0; in op_yank() 1161 oap->regname = 0; in op_yank() 1178 && !oap->inclusive in op_yank() 1180 && !oap->block_mode in op_yank() 1205 if (oap->block_mode) in op_yank() 1209 y_current->y_width = oap->end_vcol - oap->start_vcol; in op_yank() 1270 if (oap->start.lnum == oap->end.lnum in op_yank() 1271 && oap->start.col == oap->end.col) in op_yank() 1276 - oap->start.coladd + oap->inclusive; in op_yank() [all …]
|
| H A D | textobject.c | 681 oparg_T *oap, in current_word() argument 1022 oap->start = start_pos; in current_sent() 1023 oap->motion_type = MCHAR; in current_sent() 1034 oparg_T *oap, in current_block() argument 1173 oap->start = start_pos; in current_block() 1175 oap->inclusive = FALSE; in current_block() 1267 oparg_T *oap, in current_tagblock() argument 1453 oap->start = start_pos; in current_tagblock() 1474 oparg_T *oap, in current_par() argument 1637 oap->start.col = 0; in current_par() [all …]
|
| H A D | textformat.c | 804 oparg_T *oap, in op_format() argument 811 curwin->w_cursor = oap->cursor_start; in op_format() 816 curwin->w_cursor = oap->start; in op_format() 818 if (oap->is_VIsual) in op_format() 824 curbuf->b_op_start = oap->start; in op_format() 829 saved_cursor = oap->cursor_start; in op_format() 852 if (oap->is_VIsual) in op_format() 876 op_formatexpr(oparg_T *oap) in op_formatexpr() argument 878 if (oap->is_VIsual) in op_formatexpr() 882 if (fex_format(oap->start.lnum, oap->line_count, NUL) != 0) in op_formatexpr() [all …]
|
| H A D | mouse.c | 372 if (oap != NULL) in do_mouse() 373 regname = oap->regname; in do_mouse() 384 if (oap != NULL && oap->op_type != OP_NOP) in do_mouse() 386 clearopbeep(oap); in do_mouse() 666 if (!is_drag && oap != NULL && oap->op_type != OP_NOP) in do_mouse() 669 oap->motion_type = MCHAR; in do_mouse() 678 oap == NULL ? NULL : &(oap->inclusive), which_button); in do_mouse() 703 if (curwin != old_curwin && oap != NULL && oap->op_type != OP_NOP) in do_mouse() 704 clearop(oap); in do_mouse() 965 if (oap != NULL) in do_mouse() [all …]
|
| H A D | indent.c | 1023 op_reindent(oparg_T *oap, int (*how)(void)) in op_reindent() argument 1039 for (i = oap->line_count; --i >= 0 && !got_int; ) in op_reindent() 1045 && (i % 50 == 0 || i == oap->line_count - 1) in op_reindent() 1046 && oap->line_count > p_report) in op_reindent() 1052 if (i != oap->line_count - 1 || oap->line_count == 1 in op_reindent() 1083 oap->is_VIsual ? start_lnum + oap->line_count : in op_reindent() 1085 else if (oap->is_VIsual) in op_reindent() 1088 if (oap->line_count > p_report) in op_reindent() 1090 i = oap->line_count - (i + 1); in op_reindent() 1097 curbuf->b_op_start = oap->start; in op_reindent() [all …]
|
| H A D | search.c | 1210 oparg_T *oap, // can be NULL in do_search() argument 1568 if (spats[0].off.end && oap != NULL) in do_search() 1569 oap->inclusive = TRUE; // 'e' includes last character in do_search() 1808 cap->oap->inclusive = FALSE; in searchc() 1810 cap->oap->inclusive = TRUE; in searchc() 1887 findmatch(oparg_T *oap, int initc) in findmatch() argument 1889 return findmatchlimit(oap, initc, 0, 0); in findmatch() 2075 oparg_T *oap, in findmatchlimit() argument 2255 if (oap != NULL) in findmatchlimit() 2256 oap->motion_type = MLINE; // Linewise for this case only in findmatchlimit()
|
| H A D | clipboard.c | 2046 ca.oap = &oa; in clip_get_selection()
|
| H A D | structs.h | 3840 oparg_T *oap; // Operator arguments member
|
| H A D | gui_w32.c | 4349 cap.oap = &oa; in _OnMouseWheel()
|
| /vim-8.2.3635/src/proto/ |
| H A D | ops.pro | 6 void op_shift(oparg_T *oap, int curs_top, int amount); 8 int op_delete(oparg_T *oap); 9 int op_replace(oparg_T *oap, int c); 11 void op_insert(oparg_T *oap, long count1); 12 int op_change(oparg_T *oap); 16 void block_prep(oparg_T *oap, struct block_def *bdp, linenr_T lnum, int is_del); 17 void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); 18 void clear_oparg(oparg_T *oap);
|
| H A D | textobject.pro | 9 int current_word(oparg_T *oap, long count, int include, int bigword); 10 int current_sent(oparg_T *oap, long count, int include); 11 int current_block(oparg_T *oap, long count, int include, int what, int other); 12 int current_tagblock(oparg_T *oap, long count_arg, int include); 13 int current_par(oparg_T *oap, long count, int include, int type); 14 int current_quote(oparg_T *oap, long count, int include, int quotechar);
|
| H A D | normal.pro | 3 void normal_cmd(oparg_T *oap, int toplevel); 13 void clearop(oparg_T *oap); 14 void clearopbeep(oparg_T *oap);
|
| H A D | search.pro | 27 int do_search(oparg_T *oap, int dirc, int search_delim, char_u *pat, long count, int options, searc… 30 pos_T *findmatch(oparg_T *oap, int initc); 31 pos_T *findmatchlimit(oparg_T *oap, int initc, int flags, int maxtravel);
|
| H A D | textformat.pro | 7 void op_format(oparg_T *oap, int keep_cursor); 8 void op_formatexpr(oparg_T *oap);
|
| H A D | register.pro | 26 void yank_do_autocmd(oparg_T *oap, yankreg_T *reg); 30 int op_yank(oparg_T *oap, int deleting, int mess);
|
| H A D | mouse.pro | 2 int do_mouse(oparg_T *oap, int c, int dir, long count, int fixindent);
|
| H A D | indent.pro | 24 void op_reindent(oparg_T *oap, int (*how)(void));
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | todo.txt | 5232 changing the starting position in oap->start.
|
| H A D | version8.txt | 4369 Solution: Do not adjust oap->end in do_pending_operator(). (Christian
|