Dan2552/SublimeTextSwiftAutocomplete

Inserting unnecessary point after selecting suggestion

dielsonsales opened this issue · 3 comments

When I select a specific suggestion, by pressing Enter, the text ends with two points, such as:

variable..method();

Is this an issue of sublime or is the project doing something it shouldn't?

Probably the same issue as #19

I'm not entirely sure, but it's possibly to do with byte size vs length.

I did some quick testing but didn't find the solution today, if you want to have a bit of a play:
a0657de

Indeed it just happens when I have a © symbol in my comments. If I delete it, everything works normally as it should.

Thanks for checking. I'll close this one to avoid duplicates.