Enable highlighting in suggestions for multi word queries
The highlighting in suggestions only works if the display string of the
suggestions contains the full query string. If the query contains
multiple words the suggestions may correspond only to the last word. In
this case the display strings do not contain the full query.
Having a protected method that provides the query pattern allows
subclasses to highlight suggestions in multi word queries by
overwriting this method.
Signed-off-by: Edwin Kempin <email@example.com>
1 file changed