-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incorrect jump label highlight when non-ascii chars are used #10315
Comments
please attach your example.txt file next time you post an issue like this |
Hi, perhaps you missed it, it’s right below the summary section. Or is it possible to embed a file in the issue? |
a sorry, yeah I didn't see that. I was able to reproduce regardless that is pretty odd. For me it does render a jump label but only for the second char which is even more odd (may be related to my fork tough) |
I agree, it’s bizarre. I have other files with neither |
Ah I think I found it |
its unicode chars in general, I mixed up byte and char range |
Great! |
nbsp
or nnbsp
used before
Summary
In certain cases, the jump labels on the first line are not highlighted in the jump mode. If the same line is not at the top, the same labels are highlighted.
example.txt
Reproduction Steps
Here’s a screencast.
I tried this:
hx example.txt
ge
gw
I expected this to happen:
Instead, this happened:
Helix log
No relevant log.
Platform
Linux
Terminal Emulator
alacritty 0.13.1 (fe2a3c56)
Installation Method
source
Helix Version
24.03-59-g3d72173b
The text was updated successfully, but these errors were encountered: