Return to cmdcmds.c CVS log | Up to [local] / src / usr.bin / vim |
version 1.3, 1996/09/22 01:17:58 | version 1.4, 1996/09/24 17:53:49 | ||
---|---|---|---|
|
|
||
CHANGED; | CHANGED; | ||
if (!global_busy && num_lines > p_report) | if (!global_busy && num_lines > p_report) | ||
smsg((char_u *)"%ld line%s moved", num_lines, plural(num_lines)); | smsg((char_u *)"%ld line%s moved", num_lines, plural(num_lines)); | ||
/* | |||
* Leave the cursor on the last of the moved lines. | |||
*/ | |||
if (n >= line1) | |||
curwin->w_cursor.lnum = n; | |||
else | |||
curwin->w_cursor.lnum = n + (line2 - line1) + 1; | |||
return OK; | return OK; | ||
} | } | ||