kogmbh/WebODF — pull request #23 by peitschie (2013-09-26 04:00:26+00:00)
Title: Ensure the cursor is in a walkable state after applying direct styling

Due to how text splitting works, the cursor is often left outside the
span, resulting in:

|A|B|C|

According to README_cursorpositions.txt, the cursor position near a span
is after the last character in the span. I.e.,:

|A|B|C|

The fix for this is to fix the cursor positions after the operation has
been executed