Lines Matching refs:op_type

19 static int	do_addsub(int op_type, pos_T *pos, int length, linenr_T Prenum1);
165 shift_line(oap->op_type == OP_LSHIFT, p_sr, amount, FALSE); in op_shift()
195 if (oap->op_type == OP_RSHIFT) in op_shift()
279 int left = (oap->op_type == OP_LSHIFT); in shift_block()
647 && oap->op_type == OP_DELETE) in op_delete()
663 && oap->op_type == OP_DELETE in op_delete()
813 if (oap->op_type == OP_CHANGE) in op_delete()
895 && oap->op_type == OP_CHANGE in op_delete()
922 oap->op_type == OP_DELETE && !oap->is_VIsual); in op_delete()
943 oap->op_type == OP_DELETE && !oap->is_VIsual); in op_delete()
947 if (oap->op_type == OP_DELETE) in op_delete()
1237 static int swapchars(int op_type, pos_T *pos, int length);
1262 one_change = swapchars(oap->op_type, &pos, bd.textlen); in op_tilde()
1294 did_change = swapchars(oap->op_type, &pos, in op_tilde()
1299 did_change |= swapchars(oap->op_type, &pos, in op_tilde()
1360 swapchars(int op_type, pos_T *pos, int length) in swapchars() argument
1375 did_change |= swapchar(op_type, pos); in swapchars()
1390 swapchar(int op_type, pos_T *pos) in swapchar() argument
1398 if (c >= 0x80 && op_type == OP_ROT13) in swapchar()
1401 if (op_type == OP_UPPER && c == 0xdf in swapchar()
1420 if (op_type == OP_ROT13) in swapchar()
1422 else if (op_type != OP_LOWER) in swapchar()
1427 if (op_type == OP_ROT13) in swapchar()
1429 else if (op_type != OP_UPPER) in swapchar()
1491 coladvance_force(oap->op_type == OP_APPEND in op_insert()
1493 if (oap->op_type == OP_APPEND) in op_insert()
1503 if (oap->op_type == OP_APPEND) in op_insert()
1508 if (oap->op_type == OP_APPEND) in op_insert()
1585 if (oap->op_type == OP_INSERT in op_insert()
1594 else if (oap->op_type == OP_APPEND in op_insert()
1604 oap->op_type = OP_INSERT; in op_insert()
1607 else if (bd.is_MAX && oap->op_type == OP_APPEND) in op_insert()
1623 if (oap->op_type == OP_APPEND) in op_insert()
1640 if (oap->op_type == OP_APPEND) in op_insert()
1670 block_insert(oap, ins_text, (oap->op_type == OP_INSERT), in op_insert()
2243 if (!is_del || oap->op_type == OP_APPEND) in block_prep()
2258 if (oap->op_type == OP_INSERT) in block_prep()
2260 else if (oap->op_type == OP_APPEND) in block_prep()
2268 if (is_del && oap->op_type != OP_LSHIFT) in block_prep()
2291 || oap->op_type == OP_APPEND in block_prep()
2292 || oap->op_type == OP_REPLACE)) // line too short in block_prep()
2299 if (oap->op_type == OP_APPEND || virtual_op) in block_prep()
2359 change_cnt = do_addsub(oap->op_type, &pos, 0, amount); in op_addsub()
2415 one_change = do_addsub(oap->op_type, &pos, length, amount); in op_addsub()
2468 int op_type, in do_addsub() argument
2645 if (op_type == OP_NR_SUB) in do_addsub()
2722 if (op_type == OP_NR_SUB) in do_addsub()
3053 oparg.op_type = OP_NOP; in cursor_pos_info()
3282 if (oap->op_type != OP_COLON) in op_colon()
3284 if (oap->op_type == OP_INDENT) in op_colon()
3294 else if (oap->op_type == OP_FORMAT) in op_colon()
3487 && oap->op_type != OP_NOP in do_pending_operator()
3497 if ((finish_op || VIsual_active) && oap->op_type != OP_NOP) in do_pending_operator()
3538 if ((redo_yank || oap->op_type != OP_YANK) in do_pending_operator()
3543 && oap->op_type != OP_COLON)) in do_pending_operator()
3546 && oap->op_type != OP_FOLD in do_pending_operator()
3547 && oap->op_type != OP_FOLDOPEN in do_pending_operator()
3548 && oap->op_type != OP_FOLDOPENREC in do_pending_operator()
3549 && oap->op_type != OP_FOLDCLOSE in do_pending_operator()
3550 && oap->op_type != OP_FOLDCLOSEREC in do_pending_operator()
3551 && oap->op_type != OP_FOLDDEL in do_pending_operator()
3552 && oap->op_type != OP_FOLDDELREC in do_pending_operator()
3557 get_op_char(oap->op_type), get_extra_op_char(oap->op_type), in do_pending_operator()
3636 && cap->oap->op_type != OP_DELETE) in do_pending_operator()
3743 if ((redo_yank || oap->op_type != OP_YANK) in do_pending_operator()
3744 && oap->op_type != OP_COLON in do_pending_operator()
3746 && oap->op_type != OP_FOLD in do_pending_operator()
3747 && oap->op_type != OP_FOLDOPEN in do_pending_operator()
3748 && oap->op_type != OP_FOLDOPENREC in do_pending_operator()
3749 && oap->op_type != OP_FOLDCLOSE in do_pending_operator()
3750 && oap->op_type != OP_FOLDCLOSEREC in do_pending_operator()
3751 && oap->op_type != OP_FOLDDEL in do_pending_operator()
3752 && oap->op_type != OP_FOLDDELREC in do_pending_operator()
3762 get_op_char(oap->op_type), in do_pending_operator()
3763 get_extra_op_char(oap->op_type), in do_pending_operator()
3767 int nchar = oap->op_type == OP_REPLACE ? cap->nchar : NUL; in do_pending_operator()
3775 get_op_char(oap->op_type), in do_pending_operator()
3776 get_extra_op_char(oap->op_type), in do_pending_operator()
3806 && !op_on_lines(oap->op_type) in do_pending_operator()
3830 if ((oap->op_type == OP_YANK in do_pending_operator()
3831 || oap->op_type == OP_COLON in do_pending_operator()
3832 || oap->op_type == OP_FUNCTION in do_pending_operator()
3833 || oap->op_type == OP_FILTER) in do_pending_operator()
3860 || (oap->op_type == OP_YANK in do_pending_operator()
3873 || oap->op_type == OP_FOLD in do_pending_operator()
3914 switch (oap->op_type) in do_pending_operator()
3931 (void)do_join(oap->line_count, oap->op_type == OP_JOIN, in do_pending_operator()
4018 if (oap->op_type == OP_INDENT && *get_equalprg() == NUL) in do_pending_operator()
4148 oap->op_type == OP_FOLDOPEN in do_pending_operator()
4149 || oap->op_type == OP_FOLDOPENREC, in do_pending_operator()
4150 oap->op_type == OP_FOLDOPENREC in do_pending_operator()
4151 || oap->op_type == OP_FOLDCLOSEREC, in do_pending_operator()
4159 oap->op_type == OP_FOLDDELREC, oap->is_VIsual); in do_pending_operator()
4188 && (oap->op_type == OP_LSHIFT || oap->op_type == OP_RSHIFT in do_pending_operator()
4189 || oap->op_type == OP_DELETE)) in do_pending_operator()