Startseite › Foren › Deutsches LiveCode-Forum › Colorizer › Antwort auf: Colorizer
Mai 30, 2019 um 14:44 Uhr
#15168
Was auch mal auszuprobieren wäre, den kompletten Text als HTML zu formatieren und alle Vorkommen von
-> www.
durch
-> <font color=blue>www</font>.
ersetzen.
Vorne und hinten noch <p> bzw. </p> anfügen und den HTMLtext des Feldes darauf setzen. Capisce?
Da da alles im RAM passiert und LC in diesen Operationen AFFENARTIG schnell ist, wäre das mal testen. 🙂
...
put the millisecs into tMS
put "<p>" & fld "Text" & "</p>" into tText
replace "www." with "<font color=blue>www</font>." in tText
set the htmltext of fld "Text" to tText
put the millisecs - tMS
...