* JABHandler.JABContext.getAccessibleTextLineBounds():
* end can be -1 if there is no text. Also, OpenOffice can sometimes return nonsense offsets. Therefore, if end < start, treat this as an empty line.
* Comment the algorithm which compensates for other OpenOffice stupidity.
* NVDAObjects.JAB.JABTextInfo:
* _getLineOffsets(): JABHandler.JABContext.getAccessibleTextLineBounds() now handles invalid offsets, so don't compensate here. Also, there's little point in calling super for invalid offsets; everything is probably trashed if this happens anyway.
* _getCaretOffset(): Compensate for more OpenOffice stupidity. OpenOffice sometimes returns a nonsense caret offset, so use charCount to validate it.
These changes mean that NVDA no longer sometimes freezes completely when editing text in OpenOffice. (#148, #180)