#770 added highlightMode method to highlights text only if findmode is true
Merge pull request #837 from shubhendusaurabh/770-text-highlighted-only-in-search-function

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