edit

fun edit(fromIndex: Int, toIndex: Int, vararg content: JsonTree.TreeNode)
fun edit(fromIndex: Int, toIndex: Int, splitLevel: Int, vararg contents: JsonTree.TreeNode)

Edits this tree with the given node.

Throws

with ErrInvalidArgument if an edit boundary resolves to an out-of-range text split offset (a document whose history carries a duplicate tree node ID).