]> granicus.if.org Git - vim/commit
patch 8.1.0034: cursor not restored with ":edit #" v8.1.0034
authorBram Moolenaar <Bram@vim.org>
Mon, 4 Jun 2018 18:34:23 +0000 (20:34 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 4 Jun 2018 18:34:23 +0000 (20:34 +0200)
commitadb8fbec4f4059d214fe6acf2485ffd35e803450
tree6e91c9fd410bb086c611cd0f48cc18d611d1cb91
parentacb9effecc9f54b93398a44cc0ec40e77978e094
patch 8.1.0034: cursor not restored with ":edit #"

Problem:    Cursor not restored with ":edit #".
Solution:   Don't assume autocommands moved the cursor when it was moved to
            the first non-blank.
src/ex_cmds.c
src/testdir/test_edit.vim
src/version.c