Easier way to do text-movement algorithm?

Monte Goulding monte at sweattechnologies.com
Thu Aug 14 00:12:01 EDT 2003


>    Any better ideas than these?
>
Assuming that your starting point is a list of start and end chars for each
section you could simply subtract the number of chars of section A from each
section prior to C then add the number of chars of A - the number of chars
of C to each section after C.

Hope that makes sense. It should be alot faster than a whole heap of
matchchunk calls.

Cheers

Monte




More information about the use-livecode mailing list