Alsing.Windows.Forms.SyntaxBox.EditViewControl.SelectPattern C# (CSharp) Method

SelectPattern() private method

private SelectPattern ( int RowIndex, int Column, int Length ) : void
RowIndex int
Column int
Length int
return void
        private void SelectPattern(int RowIndex, int Column, int Length)
        {
            Selection.Bounds.FirstColumn = Column;
            Selection.Bounds.FirstRow = RowIndex;
            Selection.Bounds.LastColumn = Column + Length;
            Selection.Bounds.LastRow = RowIndex;
            Caret.Position.X = Column + Length;
            Caret.Position.Y = RowIndex;
            Caret.CurrentRow.EnsureVisible();
            ScrollIntoView();
            Redraw();
        }