annotate runtime/macros/maze/maze_5.78 @ 27352:2bec1976362c
v8.2.4204
patch 8.2.4204: screenpos() has non-zero row for invisible text
Commit: https://github.com/vim/vim/commit/7924a17791217d50be5a91989a9641bf68e7a735
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 24 16:15:15 2022 +0000
patch 8.2.4204: screenpos() has non-zero row for invisible text
Problem: screenpos() has non-zero row for invisible text.
Solution: Only add the window row when the text is visible. (closes https://github.com/vim/vim/issues/9618)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 24 Jan 2022 17:30:05 +0100 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 ._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
|
|
2 | ._| . . ._| | |_._._. . ._|_._._._._. ._|_. ._|_._. ._| . ._|_. | . ._._. |
|
|
3 | ._|_| |_. | | | | ._._|_._|_._. . |_. | | | ._._| |_._._| | ._. ._| . . |_|
|
|
4 |_._._._. | ._|_. ._._._. | | ._. |_._. . | ._._| |_. | ._._._. |_. | |_|_| |
|
|
5 | | . |_._| . ._._._| ._._. ._._| | | |_| . | |_. . ._|_| ._._. |_._|_| . | |
|
|
6 |_._|_._._._|_._._._|_|_._._._|_._|_._._._|_._._._|_._._._|_._._._._._._|_._|
|
|
7
|
|
8 See Vim solve a maze!
|
|
9
|
|
10 type ":so maze_mac<RETURN>" to load the macros
|
|
11
|
|
12 type "g" to start
|
|
13
|
|
14 to interrupt type "<CTRL-C>"
|
|
15 to quit type ":q!<RETURN>"
|
|
16
|