Mike Bonner wrote:

> I wish it was easy to work with "the styledtext" but multiple runs
> get really convoluted. They contain the actual text though, so if
> you're better at navigating arrays than I am, it might be possible
> to "put the styledtext of fRef into tStyledA" then make adjustments,
> then "set the styledtext of field fRef to tStyledA"

I've come to enjoy working with styledText arrays since I asked about them here last year. Very helpful for many things, but in this case I'd use the simpler htmlText, designed as it is to provide a plain-text representation of field contents with complete fidelity, and it works on chunks as well as the field object as a whole.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to