Skip to content

case insensitive suggestions#61

Open
butonic wants to merge 2 commits intoDn-a:masterfrom
butonic:case-insensitive-suggestions
Open

case insensitive suggestions#61
butonic wants to merge 2 commits intoDn-a:masterfrom
butonic:case-insensitive-suggestions

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 <jfd@butonic.de>
@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 <jfd@butonic.de>
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