On Wed, 22 Aug 2007 09:46:59 -0500 Bo Peng <[EMAIL PROTECTED]> wrote:
> > 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 Yes... I had a working implementation of this some time ago ;-) - Martin