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.

Change-Id: I0f82ee6dbd49b3b1192d1f62f74849659d17e281
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
1 file changed
tree: 9817deb028d7a2b4aca597f99749e85327add23d
  1. .settings/
  2. src/
  3. .gitignore
  5. GoogleFormat.xml
  6. pom.xml