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

RemoveCurrentRow() public method

Removes the current row
public RemoveCurrentRow ( ) : void
return void
        public void RemoveCurrentRow()
        {
            if (Caret.CurrentRow != null && Document.Count > 1)
            {
                Document.Remove(Caret.CurrentRow.Index, true);
                Document.ResetVisibleRows();
                Caret.CropPosition();
                Caret.CurrentRow.Text = Caret.CurrentRow.Text;
                Caret.CurrentRow.Parse(true);
                Document.ResetVisibleRows();
                ScrollIntoView();
                //this.Refresh ();
            }
        }