Richard Heck wrote:

Idea for fix: Since the buffer_func.cpp version of loadLyXFile() is called from LyXView::loadLyXFile(), anyway, all the child doc stuff could be moved there.

Of course you are right but I don't want to do that now because it will involves much more intrusive changes in BufferView. I've added a FIXME for that in my patch by the way. The solution with the LFUN dispatching is good enough for now. In 1.6 we will remove this method and also setBuffer() from BufferView anyway.

Abdel.

Reply via email to