We have had if (_curElementStart == _curParaStart+_curParaElement.textLength) break;
get off before because we accidentally edited the model during composition. TLF really hates when you do that. On Fri, Nov 7, 2014 at 2:50 AM, Erik de Bruin <e...@ixsoftware.nl> wrote: > No, please go ahead, I think showing progress and thoughts/ideas will be > helpful to others, and it might even trigger someone with a solution. > > EdB > > > > On Fri, Nov 7, 2014 at 9:34 AM, Harbs <harbs.li...@gmail.com> wrote: > > > A bit more progress: It looks like things go off where the text flows > from > > one container into another mid-paragraph… > > > > (Sorry for polluting the mailing list with this. I’ll try to be quiet > > until I figure it out…) > > > > On Nov 7, 2014, at 9:55 AM, Harbs <harbs.li...@gmail.com> wrote: > > > > > It’s pretty big. > > > > > > It consistently gets out of whack at the end of the second paragraph. > > I’m getting closer to where it’s going off… > > > > > > > > > On Nov 7, 2014, at 1:01 AM, Alex Harui <aha...@adobe.com> wrote: > > > > > >> > > >> > > >> On 11/6/14, 2:02 PM, "Harbs" <harbs.li...@gmail.com> wrote: > > >> > > >>> I think it’s _curElementOffset which gets updated. > > >>> > > >>> It does look like something is getting out of sync. I’m just not sure > > yet > > >>> what. This is one of those areas that’s way too fragile IMHO… Every > > time > > >>> I’ve run into these kinds of issues it’s taken me days to figure out > > >>> exactly what’s off. > > >> > > >> Is the paragraph huge? In the past I simply have to watch each line > get > > >> created, figure out what is in the line, and how much the offset > should > > >> change and verify it changed. This was when I was dealing with some > > >> unicode character issues where an atom could be made of more than one > > >> character. > > >> > > >> -Alex > > >> > > > > > > > > > > -- > Ix Multimedia Software > > Jan Luykenstraat 27 > 3521 VB Utrecht > > T. 06-51952295 > I. www.ixsoftware.nl >