kogmbh/WebODF — pull request #217 by adityab (2013-11-26 18:24:04+00:00)
Title: Fix post-annotation cursor positions

Instead of trying to guesstimate the ideal position of the cursor inside the newly created annotation, use `cursor.setSelectedRange` to move the cursor into the annotation's contained paragraph, taking advantage of the better positioning framework we have now.

Fixes #45 and #115.