internal static void DrawTextSelection(string PaintText, int Offset, ControlGraphicsInfoArgs info, TextSelectionData SelectTextData)
 {
     if (SelectTextData != null && SelectTextData.Markers != null)
     {
         foreach (var i in SelectTextData.Markers)
         {
             DrawTextSelection(PaintText, Offset, info, SelectTextData.color, i.Start, i.Length);
         }
     }
 }
 internal void SetTextSelection(int FirstIndex, int Length, System.Drawing.Color Color)
 {
     this.TextSelection = new TextSelectionData(FirstIndex, Length, Color);
 }
 internal void SetTextSelection(string Filter, System.Drawing.Color Color)
 {
     this.TextSelection = new TextSelectionData(Filter, Color);
 }