vim-patch:8.0.0515: ml_get errors in silent Ex mode (#8452)

Problem:    ml_get errors in silent Ex mode. (Dominique Pelle)
Solution:   Clear valid flags when setting the cursor.  Set the topline when
            not in full screen mode.
d5d37537d1
This commit is contained in:
KunMing Xie
2018-05-30 15:11:52 +08:00
committed by Justin M. Keyes
parent f711b63513
commit 77a2eaf08b
4 changed files with 23 additions and 12 deletions

View File

@@ -8104,6 +8104,7 @@ static void ex_normal(exarg_T *eap)
if (eap->addr_count != 0) {
curwin->w_cursor.lnum = eap->line1++;
curwin->w_cursor.col = 0;
check_cursor_moved(curwin);
}
exec_normal_cmd(