On Sun, 21 Jan 2001, Jesper Skov wrote:

> >>>>> "Jesper" == Jesper Skov <[EMAIL PROTECTED]> 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



Reply via email to