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

Autocomplete messes up spans #3

Closed
Emilgardis opened this issue Mar 29, 2024 · 2 comments
Closed

Autocomplete messes up spans #3

Emilgardis opened this issue Mar 29, 2024 · 2 comments

Comments

@Emilgardis
Copy link
Contributor

Emilgardis commented Mar 29, 2024

Using autocomplete seems to place the span for replacement wrong, where the last character entered before pressing enter will be put before the completion. undoing the complete makes the wrong selection

image

Recording.2024-03-29.124402.mp4

I've reproduced this in FF and Edge

@Ryex
Copy link
Owner

Ryex commented Mar 29, 2024

I believe this is an error with ace-linters
I have console logs sitting between the server and client so I can see that the completion suggestions are sent correctly
image
so It knows to start from character 15.
but it could also be an error all they way up in Ace itself.

@Ryex
Copy link
Owner

Ryex commented Mar 30, 2024

fixed in d9a8a9f

@Ryex Ryex closed this as completed Mar 30, 2024
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

2 participants