Пример #1
0
 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;
     }
 }
Пример #2
0
 internal void HighlightWords(WordPtr[] words)
 {
     _editSubject.HighlightWords(DocumentSection.RestrictResults(words, DocumentSection.SubjectSection));
 }