-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
autocompletion puts the cursor in the wrong place #6232
Comments
Fix is included in #5728 I think |
👍 Almost. |
This is indeed fixed by #5728, I can't reproduce the problem you mentinoed but I have some local fixes so it might be related to that |
Nope. Cursor position is still going places randomly. |
I tried the reproduction case you showed above and it works just fine now. I have spent a lot of time debugging this and I am fairly certain the cursor positioning should be correct now. Did you use the final version of that PR after it was merged (or in other words latest master)? I did a lot of additional work on that PR yesterday so it's possible you got an old version of that PR. If you have found a different bug please open a new separate bug report. |
Summary
I think the new snippet based autocompletion has problems.
It put the cursor in the wrong place.
It seems to me it puts the cursor at the selection starting point. Is that the desired behavior?
See the asccinema.
Reproduction Steps
https://asciinema.org/a/RKvDTNf8i22Ufz2MBZlawshzI
Helix log
No response
Platform
WSL
Terminal Emulator
Windows Terminal
Helix Version
helix 22.12 (39d5fb0)
The text was updated successfully, but these errors were encountered: