John Levon wrote:

> I'm tempted to go write a header that doesn't do this now :)

:)

>> And if you are so against it, then we can make lastPos to return n
>> (instead of max(0,n-1) on a paragraph with n chars (maybe changing its
>> name). And we can eliminate all the special casing.
> 
> I'd rather just have the assert

You never commented on this option, may I ask why you don't like it?
(without getting the regular brick on the head) Just to be clear, I mean to
rename 'lastPos' to say 'endPos' and to return one position past end.

Regards, Alfredo


Reply via email to