added a TextMode to the highlighter, so selection and search is properly highlighted