On 04/10/2009 23:44, Pavel Sanda wrote:
Abdelrazak Younes wrote:
LyXAction::NoInternal))
+               return false;
+
        switch (cmd.action) {

Abdel, why is this not done also in guiview?

Because all Buffer related LFUNs should either be in Buffer or in
BufferView... But maybe there are still some LFUNs that are not transfered
yet...

yes there are. and are all such lfuns supposed to be really part of buffer?

Yes, but I mean all lfuns that modify the buffer contents or properties.

if i do eg vc-update i will close and open the buffer again, so the old
buffer/view is no more existing.

In this case we close the buffer so that should stay in GuiView. We indeed need to do apply this LFUN to the document buffer only. But GuiView knows how to do do that; look at GuiView::dispatchVC().

Abdel.

Reply via email to