how to set the textStyle of word 1 of the selection?

Klaus on-rev klaus at major.on-rev.com
Mon Mar 15 09:26:21 EDT 2010


Bonjour Andre,

> Thank you Richmond for your prompt answer.
> But with "the first word" instead of "word 1" I get the same errors. Does not work
> Any other idea?

"the selection" returns the selected text and NOT a chunk describing the selection!

So you may need to check "the selectedchunk" or something to get to know what to
format the way you want to.

> André

Best

Klais

--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com




More information about the use-livecode mailing list