forked from aniani/vim
updated for version 7.0174
This commit is contained in:
12
src/ops.c
12
src/ops.c
@@ -1844,7 +1844,11 @@ op_delete(oap)
|
||||
}
|
||||
#endif
|
||||
(void)del_bytes((long)n, restart_edit == NUL && !virtual_op,
|
||||
oap->op_type == OP_DELETE && !oap->is_VIsual);
|
||||
oap->op_type == OP_DELETE
|
||||
#ifdef FEAT_VISUAL
|
||||
&& !oap->is_VIsual
|
||||
#endif
|
||||
);
|
||||
}
|
||||
else /* delete characters between lines */
|
||||
{
|
||||
@@ -1865,7 +1869,11 @@ op_delete(oap)
|
||||
curwin->w_cursor.col = 0;
|
||||
(void)del_bytes((long)(oap->end.col + 1 - !oap->inclusive),
|
||||
restart_edit == NUL && !virtual_op,
|
||||
oap->op_type == OP_DELETE && !oap->is_VIsual);
|
||||
oap->op_type == OP_DELETE
|
||||
#ifdef FEAT_VISUAL
|
||||
&& !oap->is_VIsual
|
||||
#endif
|
||||
);
|
||||
curwin->w_cursor = curpos; /* restore curwin->w_cursor */
|
||||
|
||||
(void)do_join(FALSE);
|
||||
|
Reference in New Issue
Block a user