Open tofuninja opened 3 years ago
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.
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..
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.
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.