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

case insensitive suggestions #61

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

butonic
Copy link

@butonic butonic commented Sep 29, 2020

This PR makes suggestion matching case insensitive. It will replace the value of the TextEditingController with the first maches casing. In case no match is found it will revert to the original casing entered by the user.

hope this helps.

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic
Copy link
Author

butonic commented Sep 29, 2020

hm, I see this is a little different approach than #52 but might fix it just as well.

to be fair: proper matching would need utf8 case folding ... but I did not want to introduce that dependency ...

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants