Example #1
0
 public static void SetMarkerText(this FastColoredTextBox tBox, string markerText)
 {
     tBox.ClearMarkerText();
     if (!String.IsNullOrEmpty(markerText))
     {
         tBox.Range.SetStyle(underlineStyle, Regex.Escape(markerText), System.Text.RegularExpressions.RegexOptions.IgnoreCase);
     }
 }