Tommaso Cucinotta schreef:
Abdelrazak Younes ha scritto:
LyXView::buffer() and GuiView::buffer() is no more in trunk. So the
first thing to do is to review all currentBufferView() and
documentBufferView() calls and replace one by the other when it makes
sense.
I've one too, the default buffer is now different for dispatch() and
getStatus().
in LyXFunc::dispatch()@825
Buffer * buffer = 0;
if (lyx_view_ && lyx_view_->currentBufferView())
buffer = &lyx_view_->currentBufferView()->buffer();
in LyXFunc::getStatus()@419:
if (lyx_view_->documentBufferView())
buf = &lyx_view_->documentBufferView()->buffer();
Vincent