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

Vim bug: wrong result of screenpos() when searched line contains hidden conceal characters

Open monkoose opened this issue 4 years ago • 0 comments

Upstream bug. Current implementation for showing hints with popup windows require searchpos() function, but currently (and maybe will not be fixed) https://github.com/vim/vim/issues/8483 it's results are wrong when searched line contains hidden conceal characters. Because of that popups are shifted to the right of needed location, but jumps are correct.

Need to find an efficient (fast) workaround for that (like difference of wincol() and screenpos(), or maybe different implementation that doesn't use screenpos() at all like popup_atcursor() that should be fixed with https://github.com/vim/vim/issues/8476

monkoose avatar Jul 14 '21 11:07 monkoose