[OsSettingsSearch] Bold result text portions that match query segments.
Previously, if a query word is slightly misspelled, the result word that most closely matches the query word won't have any bolding. This CL causes the longest common substring between the query word and the result text word to be bolded. Bug: 1091063 Change-Id: I09441cc78e2cb2d55e81f526ea7baec2b5458d22 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2236898 Commit-Queue: Regan Hsu <hsuregan@chromium.org> Reviewed-by:Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#776829}
Showing
Please register or sign in to comment