Skip to content

Commit 9a845c7

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 71c633a commit 9a845c7

File tree

4 files changed

+1256
-50
lines changed

4 files changed

+1256
-50
lines changed

webodf/lib/manifest.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,12 +525,14 @@
525525
"ops.OperationFactory"
526526
],
527527
"ops.OperationTransformMatrix": [
528+
"ops.OpAddList",
528529
"ops.OpAddStyle",
529530
"ops.OpApplyDirectStyling",
530531
"ops.OpInsertText",
531532
"ops.OpMergeParagraph",
532533
"ops.OpMoveCursor",
533534
"ops.OpRemoveCursor",
535+
"ops.OpRemoveList",
534536
"ops.OpRemoveStyle",
535537
"ops.OpRemoveText",
536538
"ops.OpSetParagraphStyle",

0 commit comments

Comments
 (0)