Hi there,
I need to transform a graphical selection into an XPointer expression.
Cobra make it easy to retrive the node including the selection, but I need the node that contains the start/end point of the selection. In addition, I need the offset, from the node to the start/end point of the relative selection.
HtmlBlockPanel does know this information because it is able to get the text selected, but I didn't find any public method revelaing this information.
Can anyone help me?
Thanks,
Kouty
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I need to transform a graphical selection into an XPointer expression.
Cobra make it easy to retrive the node including the selection, but I need the node that contains the start/end point of the selection. In addition, I need the offset, from the node to the start/end point of the relative selection.
HtmlBlockPanel does know this information because it is able to get the text selected, but I didn't find any public method revelaing this information.
Can anyone help me?
Thanks,
Kouty