Alsing.Windows.Forms.SyntaxBox.Selection.SelectAll C# (CSharp) Method

SelectAll() public method

Select all text.
public SelectAll ( ) : void
return void
        public void SelectAll()
        {
            Bounds.FirstColumn = 0;
            Bounds.FirstRow = 0;
            Bounds.LastColumn = Control.Document[Control.Document.Count -
                                                 1].Text.Length;
            Bounds.LastRow = Control.Document.Count - 1;
            Control.Caret.Position.X = Bounds.LastColumn;
            Control.Caret.Position.Y = Bounds.LastRow;
            Control.ScrollIntoView();
        }