Exemplo n.º 1
0
 public void Highlight(string text, bool caseSenstive, bool doHighlight)
 {
     // Doesn't seem to work as well as expected....
     wb.SelectAll();
     wb.UnmarkTextMatches();
     if (doHighlight)
     {
         wb.MarkTextMatches(text, caseSenstive, 0);
         wb.HighlightTextMatches = true;
     }
 }