On 4/14/07, Bo Peng <[EMAIL PROTECTED]> wrote:
I just submitted the following patch.

It is wrong not to save the whole cursor stack as lastFilePos, and it
is more wrong to save top (innermost) level pit and pos. As a result,
if you quit lyx with cursor in an inset, lastFilePos will save pit/pos
within this inset, and will restore the cursor to a wrong position.

I have made similar, but more involved, changes to bookmarks. Now,
bookmarks have two separate parts: id/pos (top level) and pit/pos
(bottom level). The former is used when lyx is running, and the later
is used to save/restore bookmarks. The two needs to be synced during
moveToPosition.

After all crashes are cleared (the one I mentioned in a previous
email), I will try to convert bottom level pit/pos to
StableDocIterator as Andre suggested. This may have to be done after
1.5.0.

Cheers,
Bo

Reply via email to