Translate metadata to field content

Niggemann, Bernd Bernd.Niggemann at
Wed Feb 19 12:40:59 EST 2020

>Ralph DiMola wrote:

>What is the difference between styledText and formattedStyledText? A quick test
>yielded identical results. StyledText is in the dictionary.

>From what I tested it behaves the same as formattedText. I.e. if you have wrapped text in a field it will keep the wraps when transferring to another field although the destination field is large enough to hold the text unwrapped. Of course formattedText is on raw text and does not include styling.

Whereas formattedText inserts returns at the wrapping formattedStyledText inserts vertical tabs = ASCII 11.

Thus the number of lines returns the same value when using formattedStyledText whereas formattedText increases the number of lines if there is any wrapping.

Kind regards

More information about the use-livecode mailing list