Skip to content

Commit

Permalink
Operational transforms for adding and removing lists
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Satvik Kumar committed Sep 19, 2014
1 parent 71c633a commit 9a845c7
Show file tree
Hide file tree
Showing 4 changed files with 1,256 additions and 50 deletions.
2 changes: 2 additions & 0 deletions webodf/lib/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,14 @@
"ops.OperationFactory"
],
"ops.OperationTransformMatrix": [
"ops.OpAddList",
"ops.OpAddStyle",
"ops.OpApplyDirectStyling",
"ops.OpInsertText",
"ops.OpMergeParagraph",
"ops.OpMoveCursor",
"ops.OpRemoveCursor",
"ops.OpRemoveList",
"ops.OpRemoveStyle",
"ops.OpRemoveText",
"ops.OpSetParagraphStyle",
Expand Down
Loading

0 comments on commit 9a845c7

Please sign in to comment.