API reference / Common / Engine types / TextRevision
Type Alias: TextRevision
ts
type TextRevision =
| {
insertion: Revision;
}
| {
deletion: Revision;
}
| {
moveFrom: Revision;
}
| {
moveTo: Revision;
};What a record around characters, or on a paragraph mark, says of them: w:ins, w:del, w:moveFrom or w:moveTo.
A piece of a move belongs to the range it sits inside (TextMoveRangeStart), as in the file, so the two move variants hold what the other two do.