Mercurial > vim
diff src/ops.c @ 205:d292c40ca788
updated for version 7.0060
author | vimboss |
---|---|
date | Tue, 15 Mar 2005 22:43:58 +0000 |
parents | 4d9eabb1396e |
children | da182deebec7 |
line wrap: on
line diff
--- a/src/ops.c +++ b/src/ops.c @@ -2888,7 +2888,18 @@ op_yank(oap, deleting, mess) /* redisplay now, so message is not deleted */ update_topline_redraw(); if (yanklines == 1) - MSG(_("1 line yanked")); + { +#ifdef FEAT_VISUAL + if (oap->block_mode) + MSG(_("block of 1 line yanked")); + else +#endif + MSG(_("1 line yanked")); + } +#ifdef FEAT_VISUAL + else if (oap->block_mode) + smsg((char_u *)_("block of %ld lines yanked"), yanklines); +#endif else smsg((char_u *)_("%ld lines yanked"), yanklines); }