kogmbh/WebODF — pull request #611 by peitschie (2014-05-26 05:27:45+00:00)
Title: Provide a better caret position fallback when no visible rects are found

In the specific situation where there are no visible rectangles nearby from which to calculate the caret position and size, the cursor node itself will be made visible with some hidden internal text as a substitute.

This ensures the caret is correctly aligned in empty paragraphs that are not left-aligned, or in an area surround by non-visible rects such as near multiple annotations.