Skip to content

Commit dc75098

Browse files
author
Satvik Kumar
committed
Operational transforms for adding and removing lists
This handles transforms between Add/Remove list and other operations that modify the number of steps in the document. There are some unresolved conflicts with merging paragraphs and adding lists that return null as the transform result which required merge and split operations on lists to be resolved correctly. Added tests for the new parts of the op transform matrix and changed the op transform test code to parse any op parameter containing "length" or "position" in the name as an integer.
1 parent 19b0dab commit dc75098

4 files changed

Lines changed: 668 additions & 50 deletions

File tree

webodf/lib/manifest.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,12 +522,14 @@
522522
"ops.OperationFactory"
523523
],
524524
"ops.OperationTransformMatrix": [
525+
"ops.OpAddList",
525526
"ops.OpAddStyle",
526527
"ops.OpApplyDirectStyling",
527528
"ops.OpInsertText",
528529
"ops.OpMergeParagraph",
529530
"ops.OpMoveCursor",
530531
"ops.OpRemoveCursor",
532+
"ops.OpRemoveList",
531533
"ops.OpRemoveStyle",
532534
"ops.OpRemoveText",
533535
"ops.OpSetParagraphStyle",

0 commit comments

Comments
 (0)