Use text properties to highlight the matching string.