Is anyone maintaining the MasterLibrary? Stuff like this really should be added to it when the kinks are worked out.
Bob S > On Feb 21, 2020, at 24:51 , Mark Waddingham via use-livecode > <use-livecode@lists.runrev.com> wrote: > > On 2020-02-21 00:29, J. Landman Gay via use-livecode wrote: >> So glad you chimed in, Mark. This is pretty impressive. I'll need to >> use the "for each element" structure because my tags are not unique, >> but it still is much faster. When clicking a tag at the top of the >> document that links to the last anchor at the bottom of the text, I >> get a timing of about 25ms. If I omit the timing for loading the >> htmltext and the selection of the text at the end of the handler it >> brings the timing to almost 0. The test text is long, but not nearly >> as long as Bernd's sample. > > Glad I could help - although to be fair, all I did was optimize what > Bernd (and Richard) had already proposed. _______________________________________________ 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