RGH wrote:
I have a child document with a default master set. So say I open two
children. Then buffer-next and buffer-previous will open OTHER
children of that master document. I take it these are open but
non-visible buffers. So they should be skipped.
Abdel, I assume this is an easy fix. If you want to tell me how to do
it, I can do the details.
Not as easy as it seems unfortunately. The problem is that buffer-next
and buffer-previous operate at BufferList level whereas they should
operate at TabWorkArea level, or at least at GuiView level. So you have
two ways to fixing this:
1) Quick and very, very dirty fix: use GuiView::workArea() in BufferList
2) implement the LFUN in GuiView::dispatch() and skip those buffers that
do not have a work area.
I say this from memory so it might be accurate.
Abdel.