> There is a dirty trick used in the handling of bookmarks: bookmark id
> needs to be converted to pit because only the latter can be saved in
> session. Therefore, moveToPosition is called when a buffer is closed
> and switched, and we DO not want to move the cursor in this cases,
> especially for the buffer switch one.

BTW, the real fix for this awkard situation is adding a bookmark inset
that can be displayed (requested by
http://bugzilla.lyx.org/show_bug.cgi?id=2496), moved and deleted.
Something derived from lyx-note is enough. Then, bookmarks can be
handled similar to Toc.

Bo

Reply via email to