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

Labels not removed in any mode if text is edited before jumping the cursor #69

Open
rohantalesara opened this issue Oct 11, 2017 · 2 comments

Comments

@rohantalesara
Copy link

rohantalesara commented Oct 11, 2017

In any mode, if before choosing a label to jump to, the text content is edited, and then the jump is made, the labels don't get removed even after the jump has finished.
If the file is now saved, the labels get saved instead of the actual text content.
The following are screen shots detailing the same:

ace-1

ace-2

The labels remain even after the jump has finished:
ace-3

After saving the file:
ace-4

@RohanBS
Copy link

RohanBS commented Oct 11, 2017

Pressing (Ctrl+Z) before saving removes the labels. However , if the file is saved without doing so , the labels do gets saved instead of the actual text content.

@ice9js
Copy link
Owner

ice9js commented Oct 19, 2017

Yes. Unfortunately the way it works is that AceJump is actually editing the files to add the labels, and then undoing that change once you make the jump. If you make any change in between - it will undo that instead of removing the labels.
Do you think setting the buffers to read-only while the labels are shown would be a sufficient solution ?

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

No branches or pull requests

3 participants