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; }
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; }