set the textStyle to not bold
Beat Cornaz
B.Cornaz at gmx.net
Sat Oct 3 15:24:30 EDT 2009
Jacqueline wrote :
> Your script works as well as Devin's and also has the same
> 'shortcoming'
> of not removing the style between words.
>
>I haven't tested it, but it seems to me that you don't need to iterate
>through any chunks at all if you replace the entire htmltext as a
whole.
>Try someothing like this:
> get the htmltext of fld "A"
> replace "<b>" with empty in it
> replace "</b>" with empty in it
> set the htmltext of fld "A" to it
>That should catch all instances regardless of where they are, and
would
>be faster than using a repeat loop.
How I love this revTalk : there is always a smarter way to do it. I
will test this out, only tomorrow I'll be out. So first thing monday
morning.
Thanks, Jacqueline.
best, Beat Cornaz
More information about the use-livecode
mailing list