Highlighting text based on user input

@scottb I’ve updated the code above.