OT v0.1.0 OT.Text
A TP1 operational transformation implementation based heavily on ot-text, but modified to be invertable.
In this OT type, operations are represented as traversals of an entire string, with any final retain components implicit. This means that given the text “Foz Baz”, the operation needed to change it to “Foo Bar Baz” would be represented thusly:
[2, %{d: "z"}, %{i: "o Bar"}]
Notice that the final retain component, 4
(to skip over “ Baz”) is
implicit and it not included.
Summary
Functions
Initialize a blank text datum
Initialize a random text for fuzz testing
See OT.Text.Operation.random/1
Types
A string that this OT type can operate on
Functions
Initialize a blank text datum.
Initialize a random text for fuzz testing.