- start
- Documentation for this section has not yet been entered.
- end
- Documentation for this section has not yet been entered.
- tb
- Documentation for this section has not yet been entered.
- tbstart
- Documentation for this section has not yet been entered.
- tbend
- Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Replaces the specified range (st…en) of text in this Editable with a copy of the slice start…end from source. The destination slice may be empty, in which case the operation is an insertion, or the source slice may be empty, in which case the operation is a deletion.
Before the change is committed, each filter that was set with IEditable.SetFilters(IInputFilter[]) is given the opportunity to modify the source text.
If source is Spanned, the spans from it are preserved into the Editable. Existing spans within the Editable that entirely cover the replaced range are retained, but any that were strictly within the range that was replaced are removed. As a special case, the cursor position is preserved even when the entire range where it is located is replaced.