text_delta v1.3.0 API Reference


Delta is a format used to describe text states and changes

The application of a delta onto a text state

Attributes represent format associated with TextDelta.Operation.insert/0 or TextDelta.Operation.retain/0 operations. This library uses maps to represent attributes

The composition of two non-concurrent deltas into a single delta

Document diffing

Document-related logic like splitting it into lines etc

Iterator iterates over two sets of operations at the same time, ensuring next elements in the resulting stream are of equal length

Operations represent a smallest possible change applicable to a text

The transformation of two concurrent deltas such that they satisfy the convergence properties of Operational Transformation