I understand the basics of how range works, and if the container is a element node then the offset is the # of the child versus if the container is a Text item, it is the number of characters in that node.
What I don't understand is how would I figure out what position the cursor is at when the container is a collapsed element, and it points to a child node of some text, how would I figure out where the cursor is? Or can I safely assume it is at the end of the text in that case?