示例#1
0
 public EditableEraseAction(IEditable editable, int start, int end)
 {
     this.editable   = editable;
     this.text       = editable.GetChars(start, end);
     this.start      = start;
     this.end        = end;
     this.is_cut     = end - start > 1;
     this.is_forward = editable.Position < start;
 }
示例#2
0
 public EditableEraseAction(IEditable editable, int start, int end)
 {
     this.editable = editable;
     this.text = editable.GetChars (start, end);
     this.start = start;
     this.end = end;
     this.is_cut = end - start > 1;
     this.is_forward = editable.Position < start;
 }