regex question in matchChunk function

dunbarx at dunbarx at
Tue Dec 15 15:07:58 EST 2009

I am not either. but:

on mouseup
    get fld "yourField"
    repeat with y = 1 to the number of words in it
       if word y of it = yourtext then set the textstyle of word y of fld   
"yourField" to "box"
    end repeat
end mouseup

Now this writes to fld "yourfield" every time it matches. I think if you 
use the "htmltext" you can work in a variable and set the style all at once. 

Craig newman

More information about the use-livecode mailing list