1
0
forked from aniani/vim

updated for version 7.0174

This commit is contained in:
Bram Moolenaar
2005-12-19 22:14:58 +00:00
parent 195d6357b4
commit a9b1e74b5d
12 changed files with 64 additions and 11 deletions

View File

@@ -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);