view src/testdir/test_close_count.ok @ 11372:1074f58e1673 v8.0.0571

patch 8.0.0571: negative line number when using :z^ in an empty buffer commit https://github.com/vim/vim/commit/a364cdb648ae009fa7aa05382f5659335683d349 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 20 21:12:30 2017 +0200 patch 8.0.0571: negative line number when using :z^ in an empty buffer Problem: The cursor line number becomes negative when using :z^ in an empty buffer. (neovim https://github.com/vim/vim/issues/6557) Solution: Correct the line number. Also reset the column.
author Christian Brabandt <cb@256bit.org>
date Thu, 20 Apr 2017 21:15:04 +0200
parents 1e6d87a36dcd
children
line wrap: on
line source

6 5 4 2 1
5 4 2 1
5 4 2
5 2
7 5 2
7 5

13 12 11 10 9 1
13 12 11 9 1
12 11 9 1
12 11 9
12 9
15 12 9
15 12

20 19 18 17 16
20 19 18 16
20 18 16

25 24 23 21 1
24 23 21 1
24 23 21
24 21