wip #100, abstracted the SingleTextChange merge algorithm