Alsing.Windows.Forms.SyntaxBox.EditViewControl.RemoveCurrentRow C# (CSharp) 메소드

RemoveCurrentRow() 공개 메소드

Removes the current row
public RemoveCurrentRow ( ) : void
리턴 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 ();
            }
        }