Subject: Re: Tracking a crasher...
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Sun Jan 21 2001 - 08:43:12 CST
On Sun, 21 Jan 2001, Jesper Skov wrote:
> >>>>> "Jesper" == Jesper Skov <jskov@redhat.com> writes:
>
> Jesper> The problem is that the forced line/page break ends up in the
> Jesper> document content for some reason:
>
> This is alright after all.
>
> Jesper> So when FV_View::insertParagraphBreak() gets to
> Jesper> pt_PieceTable::_insertStrux it tries to break a fragment of
> Jesper> length 3 into two new fragments [as you can see in the above,
> Jesper> there is no fragment with length 3!]
>
> But this still puzzles me. I'll look closer at it now.
This might help. Within the piecetable you have
loc1 loc2 loc3
2 <linebeak> <next char after linebreak>
On screen the cursor is between the 2 and the linebreak. However the doc
position returned by findPointCoords might be after the linebreak since
it is a zero length run.
Just a thought.
<back to rtf import of lists. Jeeze what a mess rtf is! MS broke backward
compatibility of multi-level lists after Word 97. I have to rethink my
strategy again.> Sigh.
Martin
This archive was generated by hypermail 2b25 : Sun Jan 21 2001 - 08:43:31 CST