Bo Peng wrote:
Hi,

In the process of save/restore bookmarks, I notice that bookmark
feature is confusing right now. For example, the saved bookmars will
appear/disappear kind of randomly when you switch between windows.
And, when you switch to another buffer using a saved bookmark, the
windows title is not changed.

As a first step, I would propose that we move save/restorePosition
(and related functions and LFUN_BOOKMARK_*) from BufferView to
LyXView. An immediate advantage is that buffer switch will be a full
LyXView::setBuffer() that comes with statusbar, windows title changes.

Any opinion?

Hello Bo,

IMHO bookmark has nothing to do with BufferView nor LyXView but with Buffer. Especially so if these bookmarks are persistent. A bookmark should work with any LyXView or BufferView.

So I am not sure LyXView is the right place either. I would say that buffer_func might be more appropriate.

Abdel.

Reply via email to