Using the same technique with 5.5 takes 175ms rather than 960ms. So, 5.5 is still many times faster than 7.0.1 when it comes to styling text in fields (5.5 is around 6x faster than 7.0.1 even using this technique). Using a loop through the field where each word/chunk is styled as it is found (using "set the textstyle of x"), takes minutes. That is the kind of thing new users might try, and they will receive a very unfavourable view of Livecode.
Bernard On Wed, Dec 31, 2014 at 5:37 PM, Bernard Devlin <[email protected]> wrote: > I switched to getting the htmlText and putting tags round the text I want. > > Even on LC 7.0 with 4000 lines each containing the word to style, this > only takes less than 1 second. > > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
