#111 prevent keyword search from searching outside the range of text we are currrently highlighting