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

Unicode in source seems to break completion #643

Open
tofuninja opened this issue Jul 18, 2021 · 3 comments
Open

Unicode in source seems to break completion #643

tofuninja opened this issue Jul 18, 2021 · 3 comments

Comments

@tofuninja
Copy link

I have some code along the lines of "g.drawString("");" where  is a rocket ship in a custom font I am using. Auto completion before this line works as expected but auto completion after it does not work.

@tofuninja tofuninja changed the title Unicode in source seems to break compleation Unicode in source seems to break completion Jul 18, 2021
@WebFreak001
Copy link
Member

which editor are you using? I certainly know there is no issue when there is unicode in comments at least, so your editor could offset the cursor if it doesn't work on bytes.

@tofuninja
Copy link
Author

im using sublime text, it might be the plugin im using(a heavily modified version of dkit). I am not sure if it uses byte offset or codepoint offset..

@WebFreak001
Copy link
Member

WebFreak001 commented Jul 22, 2021

an easy way to test is going forward or backward one or two characters for every unicode character and seeing if the completion you would expect is there.

Using your code doesn't break completion for me.

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