Returning only the matched portion of the text when calling SearchText
Posted: Tue Jul 12, 2022 3:45 pm
When GdViewer.SearchText is called, it returns the coordinates of the match result, but instead of returning the coordinates of the matched portion of the word, it returns the coordinates of the entire word. For example, if you're searching for the word "you", and there is match in the word "layout", instead of returning the coordinates for the "you" portion of the word, it returns the coordinates for the entire word "layout". In most applications that have a search feature, it only highlights the matching portion of the word, instead of highlighting the entire word. Can this be fixed?