Hi list,

I have a field with a HTMLtext as follows :
  <p>abc <i>def</i> xyz</p>

the content of the field displays like that :
  abc def xyz
with "def" in italic.

Now I select "def" ; the selectedChunk returns
  char 5 to 7 of field x

Question : how can I know for certain that the
selection is in italic ?

I tried : char 5 to 7 of the HTMLtext of field x
but it returns : "bc "

Thank you in advance.
jbv

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to