Closed 4sdx closed 7 months ago
Still true at current master with following in my kakrc:
hook global RawKey .+ %{
try %{ remove-highlighter window/curhl }
try %{add-highlighter window/curhl line %val{cursor_line} default,rgb:282828}
}
Though, it doesn't reproduce without adding highlighter for line numbers! Also, it seems to always highlight line with '
and "
substrings (UPD: nah, not true, actually. sometimes it is not enough to force highlighter to work) (spaces are intentional. Replaceable with tabs on my config).
Thanks for bumping this up, fix incoming.
Thanks a lot for your work! Already tried and it's awesome. Appreciate a lot.
I tried too. It works as expected. Thanks for fixing the best code editor! :)
Version of Kakoune
v2023.08.05
Reproducer
Enable cursor line highlighting by ui.kak or crosshair. Than scrolling through a file, not all lines will be highlighted.
Another way to reproduce:
remove-highlighter window/cursorline
add-highlighter window/cursorline line <line-number> CursorLine
Outcome
Sometimes the cursor line highlighting works for specific lines, but fails for others.
Expectations
It shall be able to highlight any line in the window.
Additional information
The feature started to malfunction from this commit: e0728d3434d5ea335521484521d246473ca06165