kogmbh/WebODF — pull request #251 by kevinlli (2013-12-10 02:38:50+00:00)
Title: Restore the end point of selection range to where it was initially after splitting boundaries.

Restore the end point of selection range to where it was initially after splitting boundaries.

Given the following selection

a[bcd]efg

calling the
splitBoundaries at the moment moves the end point of selection to immediately after opening span

a[bcd]efg

this causes getTextElements (passing includePartial = true) to return
both "bcd" and "efg" which is incorrect.