Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add setSuggestAllMatchingWords in MultiWordSuggestOracle
Multiple formatted suggestions could be mapped to same normalized candidate internally, by default, oracle will only return the last formatted suggestion. With this new method, the caller can specify to return all matching suggestions. For example, with words 'Mobile', 'MOBILE', 'mobile', 'MoBILE', typing 'm' will only suggest 'MoBILE' by default. However, it will suggest all four words if setSuggestAllMatchingWords(true) is called. Change-Id: Ica9f213e256b943453c06eb72c675eda90d63d8d Review-Link: https://gwt-review.googlesource.com/#/c/12480/
- Loading branch information
Showing
2 changed files
with
124 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters