>>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
>> 1/ call recordUndo with the right cursor, and only for the pit >> contains `old' (this is the only paragraph we change) >> >> 2/ when comparing cursors, do not compare pit:s without first >> checking that they are relative to the same inset >> >> 3/ when a paragraph has been removed,try to update the right slice >> of `cur', which might not be the top. >> >> 4/ simplify the code to the point where I understand it. Martin> Looks promising... though this is risky during a freeze. At least 1/ 2/ and 3/ avoid real crashes, and therefore are needed in some form. Writing this code was like peeling an onion: you fix a bug, and there is another one underneath (and yes, you feel like crying too). >> However, I still get a crash in fitCursor() :( Martin> Did you try Juergen's remedy? I'd rather avoid enabling bit parts of code unless Andre tells us it is a good idea. JMarc