Bo Peng wrote:
Yes:

 dispatch(FuncRequest(LFUN_BUFFER_SWITCH, _name_of_the_buffer))

No. BufferBiew::dispatch() does not pass the signal to LyXView.

Hum, that's not what I meant, I meant LyXFunc::dispatch():

case LFUN_BUFFER_SWITCH:
   BOOST_ASSERT(lyx_view_);
   lyx_view_->setBuffer(theBufferList().getBuffer(argument));


Abdel.


Reply via email to