public void HighlightWords(WordPtr[] words) { words = DocumentSection.RestrictResults(words, DocumentSection.BodySection); if (_richTextBox.Visible) { _richTextBox.HighlightWords(words); } else { Core.WebBrowser.HighlightWords(words, 0); _wordsToHighlight = words; } }
internal void HighlightWords(WordPtr[] words) { _editSubject.HighlightWords(DocumentSection.RestrictResults(words, DocumentSection.SubjectSection)); }