AceJump icon indicating copy to clipboard operation
AceJump copied to clipboard

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

Open lj-replicate opened this issue 1 year ago • 2 comments

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

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.

image

lj-replicate avatar Aug 28 '24 04:08 lj-replicate

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

lj-replicate avatar Aug 28 '24 05:08 lj-replicate

I also have this bug

image

ReHoss avatar Oct 08 '24 17:10 ReHoss