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

End key to jump to end of the line sometimes doesn't work properly #5517

Closed
pintassilgo opened this issue May 10, 2024 · 4 comments
Closed
Labels

Comments

@pintassilgo
Copy link

pintassilgo commented May 10, 2024

I will add more info later when I get reliable steps to reproduce from clean profile. but first tests suggests HiOccur and enabled word-wrap might be involved.

It's something like this:
I search for a word, then press Enter, then Esc to move focus back to editor, then press End. Sometimes, instead of jumping to the end of the line, it jumps a few chars before. Sometimes I need to do it twice to reproduce, because the first time it jumps to the end.

For instance, this line:

    "key_end_to_nonspace": false,

I searched for key_end_to_nonspace. When I press End, it jumps to fa|lse, where | is the caret.

Other example:

    "minimap_tooltip_show": true,

Searched for minimap_tooltip_show, End jumps to t|rue.

@Alexey-T
Copy link
Owner

I see in the code the 'bad part', I will rework it today.

@Alexey-T Alexey-T added the bug label May 10, 2024
Alexey-T added a commit to Alexey-T/ATSynEdit that referenced this issue May 10, 2024
@Alexey-T
Copy link
Owner

Beta updated. I did not repro, but maybe fixed.

@Alexey-T
Copy link
Owner

Try to reproduce other effects in the same cases: e.g. mouse click near the line end may put caret to wrong pos?

@pintassilgo
Copy link
Author

Looks fixed, thanks!

I see no issue in caret position on click.

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

2 participants