pub fn apply_chunk(current: &str, chunk: &OutputChunk) -> StringExpand description
Pure model of applying one chunk to the current buffer text.
The live drain produces the equivalent Edits against the
actor handle; this function is the host-free unit-test seam for
the chunk semantics (Reset replaces everything; Append /
Finished concatenate at the end).