Open
Description
Version of Kakoune
Kakoune v2024.05.18, Kakoune v2023.08.05-279-ge64babee
Reproducer
- Load this base64-encoded file into Kakoune started as
HOME=(mktemp -d) kak
:
https://gist.github.com/ilyagr/94f555989e9500b3e1ce279e149f971d
(I think the only thing relevant about the file is the long string of 0 bytes)
- Run
%|base64 -d
to decode it - Run
:add-highlighter global/ wrap
Note that the long sequence of zeroes is missing.
(Is Kakoune a binary file editor? Probably not. I'm not sure what the priority of this bug should be, but in the ideal world, it wouldn't show something deceptive).
Outcome
To compare, here's what kak
shows after line 32 (incorrect):

Additionally (I am not sure if this second thing is easy to reproduce), the output was messed up further after I added line number highlighter, and first added and then removed a wrap -width 60
highlighter. The result was:

Expectations
Here is what vim -b
sees with wrapping on:

Additional information
No response
Activity