regex/HTMLText question
dunbarx at aol.com
dunbarx at aol.com
Tue Dec 15 15:56:23 EST 2009
Right, thanks to all.
Chris', your original regex question could better be addressed by:
on mouseup
get fld "yourField"
replace yourtext with "<box>" & yourtext & "</box>" in it
set the htmltext of fld "yourField" to it
end mouseup
This would be fast, and easily extendable, since we are just crunching
data.
Not that there isn't a good regex solution as well...
Craig Newman
More information about the use-livecode
mailing list