vim9-stargate icon indicating copy to clipboard operation
vim9-stargate copied to clipboard

When wrap is on last line not fully visible in the window isn't included in a search

Open monkoose opened this issue 4 years ago • 0 comments

Happens because line('w$') return the number above that line, if it it not only the line currently visible.

Edited: As i have found, this problem is much harder to fix for current stargate implementation for searching positions with searchpos() and placing hints with screenpos(). Because this functions doesn't work well with wrapped (not fully visible in the window) lines.

Getting right screen position should be fixed in https://github.com/vim/vim/commit/189663bdac1156237c49925f77bd197c1bdea12c

monkoose avatar Jul 19 '21 07:07 monkoose