On 02/23/2012 04:57 PM, Thilo Goetz wrote:
So if you ask me, the current behavior of getCoveredText() is fine, it just needs to be documented.
+1 to add documentation. Shouldn't we then throw an exception as well when the sofa is null? You want to get the text, that is either possible or not. It should be easy for user code to detect that. With the current implementation you have to check the range and for a null value. Jörn
