2014-02-20 10:00 GMT+01:00 BNig <bernd.niggem...@uni-wh.de>: > Hallo Thierry, > > it is about the same: > 1200 milliseconds on a text of 1000 lines and about 2.000.000 chars. > > the point is that using "set the textStyle["bold"]" on chunks is a lot > faster, on top it preserves preexisting textStyles of the chunk whereas "set > the textStyle of chunk to "bold"" is slower and wipes preexisting > textStyles.
Thanks. Will try to remember this one.. Regards, Thierry > Although I noticed "set the textStyle["plain"]" or "set the > textStyle["empty"]" throws an error. I think it should be allowed. > > à bientôt > > Bernd > > Thierry Douez wrote >> Hallo Bernd, >> and what about >> set the textStyle["bold"] of field 1 to true >> against >> set the textStyle of field 1 to "bold" ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode