public static void HighlightDocument() { if (hiliteMatches && lastTopic != null && _webBrowser != null) { lastTopic.HighlightDocument(_webBrowser.DomDocument); } }
public static void HighlightDocument(HtmlViewPane htmlViewPane) { if (htmlViewPane == null) { throw new ArgumentNullException("htmlViewPane"); } if (hiliteMatches && lastTopic != null) { lastTopic.HighlightDocument(htmlViewPane.WebBrowser.Document.DomDocument); } }