I'd like to know the number of characters in a rich text box so that I can move the insertion point to the end.

I've tried selRTF and selText but to no avail. they don't seem to give a correct count.

I know you can move the insertion point to the end by setting setStart to a HUGE number, but that strikes me as inelegant. It just doesn't seem that it should be difficult to move the insertion point to the exact end of the text, but I can't figure out how to do it.

any suggestions?

Thanks for your time.