commit | d5d37537d1fa46fd468bd378af2006dd09840f38 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Mar 27 23:02:07 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Mar 27 23:02:07 2017 +0200 |
tree | a0319f63b4739528379f52ad116b6aa5f78f6b90 | |
parent | 980128c369451450743bdb90a67588fa72ec4b07 [diff] [blame] |
patch 8.0.0515: ml_get errors in silent Ex mode 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.
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 8755f05..dd5e0a8 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -10361,6 +10361,7 @@ { curwin->w_cursor.lnum = eap->line1++; curwin->w_cursor.col = 0; + check_cursor_moved(curwin); } exec_normal_cmd(