First part of the label is not visible so I can't jump to some words
Describe the bug This issue was reported here before https://youtrack.jetbrains.com/issue/VIM-3590/Easy-motion-cant-jump-to-some-position and we identity this is a bug in AceJump plugin.
Sometimes, when using AceJump, the actual label is two-letter labels. However, the first part of the label is not visible. So I fail to jump to words associating with these labels.
To Reproduce Steps to reproduce the behavior:
- Have a test.scss file like below:
.container {
background-color: var(--color-grey-light-2);
box-shadow: var(--shadow-dark);
margin: 8rem auto;
max-width: 120rem;
min-height: 50rem;
@media only screen and (max-width: $bp-largest) {
margin: 0;
}
}
.header {
align-items: center;
background-color: #ffffff;
border-bottom: var(--line);
display: flex;
font-size: 1.4rem;
height: 7rem;
justify-content: space-between;
}
- Use
Start AceJump in All Words After Caret Modeaction, pressIin order to jump to.header.
Expected behavior
Jump to .header.
Actual behavior
I highlighting in .header disappears and it shows highlights for another word [i]tem.
Screenshots
After pressing I:
https://github.com/user-attachments/assets/a49b03c3-ad04-4af3-9e3f-ae838f735f43
Desktop (please complete the following information):
- OS: Linux
- IDE and version: IDEA 2024.2
- AceJump version: 3.8.19
Additional context
The actual label is not I, but some two-letter labels (KI). However, the first part of the label is not visible. If I put a few whitespaces in front of the .header, I can see the full label.
The above comment seems a spam. Please don't try to download any files from the above comment. Also, it has similar avatar to me but its no me (reporter).
I also have this bug