I am trying to get the char position/ char count of where the selected text occurs in the doc.
for example i am doing
var selectedText = rangy.getSelection().getRangeAt(0);
I need to figure how where in the document this is by char count and save the stop start character positions. The selected text may occur more than once so trying to do a indexof will not work. I was hoping i could get that info from rangy, since i already have the selected text
Thanks for any help
randy