Home Forums General XMetaL Discussion Getting Cursor Position Reply To: Getting Cursor Position

mag3737

Reply to: Getting Cursor Position

I haven't tried this myself, but how about using the JScript string object to do a string comparison of Selection.Text and Selection.ContainerNode.xml (which is actually a property of DOMElement, not DOMNOde).  I never can remember the string-comparison functions on String, either, but I'm thinking of the one that will tell you the position where STR1 occurs within STR2.

Reply

Products
Downloads
Support