styling text within an LC script

dunbarx at aol.com dunbarx at aol.com
Tue Nov 10 00:53:16 EST 2015


Hi.


Have you looked up the "HTMLText" in the dictionary.


If I understand, this should help.


Craig Newman



-----Original Message-----
From: Nicolas Cueto <niconiko at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Mon, Nov 9, 2015 9:24 pm
Subject: styling text within an LC script


I've a script that combines tab-delimited text. Next, how to modify my
script so
that parts of the combined text become italicized (or bold, or
underlined, or
...)?

The tab-delimited text is:

-----------------------------
Paradiso.01 1
La gloria di colui che tutto move The glory of the One who
moves all
things
Paradiso.01 2 per l’universo penetra, e risplende permeates the
universe
and glows
Paradiso.01 3 in una parte più e meno altrove. in one part
more and in
another less.
-----------------------------

This text
becomes:

--------------------------
La gloria di colui che tutto move 01.1
per
l’universo penetra, e risplende
in una parte più e meno altrove.
     The glory
of the One who moves all things
     permeates the universe and glows
     in
one part more and in another less.
------------------------------

Can an LC
script italicize the Italian while leaving the English as is, so
that the
resulting multi-styled combined text can be copy-pasted from an LC
text-object
to another doc?

Grazie mille.

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




More information about the use-livecode mailing list