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 16, 2014
1 parent 19b0dab commit dc75098
Show file tree
Hide file tree
Showing 4 changed files with 668 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 @@ -522,12 +522,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 dc75098

Please sign in to comment.