Extend history replay for mapped sequence items

This commit is contained in:
2026-10-23 17:55:45 +00:00
parent 12fdf0d331
commit 7b04dc6a50
4 changed files with 274 additions and 14 deletions

View File

@@ -23,13 +23,16 @@ type sequenceHistoryMode uint8
const (
sequenceHistoryReplace sequenceHistoryMode = iota + 1
sequenceHistoryAppend
sequenceHistoryMapped
)
type sequenceHistoryContribution struct {
path Path
mode sequenceHistoryMode
offset int
length int
path Path
mode sequenceHistoryMode
offset int
length int
items []sequenceItemProjection
replacements []sequenceItemReplacement
}
// assemblyAccumulator owns one mutable working document. Acquired trees held by