kogmbh/WebODF — pull request #183 by kossebau (2013-11-15 00:33:39+00:00)
Title: Fix OT with MoveCursor op with negative selection length

Imagine me still running around with brown paper bag on this one...

Missed that there can be negative length and that the cursor is not at the given position if length != 0, but instead the anchor is, and the cursor is at position+length...

Comes with lots of unit tests for MoveCursor vs. those ops where the specs need adaption, feels better now.