Skip to content
This repository was archived by the owner on May 18, 2021. It is now read-only.

Conversation

@amlynarczyk
Copy link

After using select all, when typing anything, the string entered is "/" because previous
version of completionRange is used, which always begin on 0

Actual string during textDidChange is [NEWPART][HIGHLIGHTEDPART], for example
when string was "facebook.com/" when textDidChange is called after pressing q, string is "qfacebook.com/" so the completionRange location should be moved by the difference of currrentText length.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant