Typesetting Fields

Sannyasin Brahmanathaswami brahma at hindu.org
Tue Apr 24 10:38:41 EDT 2018


I wonder if the dictionary need helps. Are there paragraph marks missing this example?

=============

For example, take the following content consisting of two paragraphs:

Centered Hello World

Left-aligned Hello unicodeString

This would transpire as the following array:
1 =
style = { textAlign = center }
runs =
1 = { text = Centered  }
2 =
style = { textStyle = bold }
text = Hello
3 = { text =  World }
2 =
runs =
1 = { text = Left-aligned  }
2 =
style = { textColor = 255,0,0 }
text = Hello
3 = { unicodeText = unicodeString }

[ For brevity, single element arrays are represented using { ... }
notation ]



More information about the use-livecode mailing list