#770 added highlightMode method to highlights text only if findmode is true

#770 highlighting text only if find mode is true