HTMLtext and selectedChunk

Curry Kenworthy curry at pair.com
Fri Nov 8 00:02:31 EST 2024


jbv:

 > 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 "

Watch the word order in syntax! Different results.
Here's how it works:

put the HTMLtext of char 5 to 7 of field x
-- or --
put the HTMLtext of the selection

Best wishes,

Curry Kenworthy

Radically Innovative Christian LiveCode Development
"PASSION for Elegant, Efficient Code!"
https://livecodeconsulting.com/



More information about the use-livecode mailing list