/// <summary> /// Select all chars of control /// </summary> public void SelectAll() { ColumnSelectionMode = false; Start = new Place(0, 0); if (tb.LinesCount == 0) { Start = new Place(0, 0); } else { end = new Place(0, 0); start = new Place(tb[tb.LinesCount - 1].Count, tb.LinesCount - 1); } if (this == tb.Selection) { tb.Invalidate(); } }