Skip to content
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

First part of the label is not visible so I can't jump to some words #465

Open
lj-replicate opened this issue Aug 28, 2024 · 2 comments
Open
Labels

Comments

@lj-replicate
Copy link

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:

  1. 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;

}
  1. Use Start AceJump in All Words After Caret Mode action, press I in 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

image

After pressing I:
image

Screencast_20240827_195849.1.mp4

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.

image

@lj-replicate
Copy link
Author

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).

@ReHoss
Copy link

ReHoss commented Oct 8, 2024

I also have this bug

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
@ReHoss @lj-replicate and others