Vincent van Ravesteijn - TNW wrote:
> >hmm, wouldnt be better to let buffer() for the document
> >only and add rather different function for lyx find usage
> >(or buffer(with some params)) ?
> >
> 
> I'd guess that for LyXFunc.cpp, we only need to change one line in
> dispatch and one in getStatus, because in principle all LFUNs that are
> handled there are about the document buffer.
> 
> And maybe only in the Text class we need to have access to the embedded
> buffer if any.

if i'm in find window and try to eg. vcs checkout then what? if we disable
it in getstatus we cant use vcs for main document?

> PS. LFUN_WORD_FIND_FORWARD and LFUN_WORD_FIND_BACKWARD should be handled
> in Text ?
> PS. LFUN_BUFFER_CLOSE and LFUN_BUFFER_CLOSE_ALL should be handled in
> GuiView ?
> PS. LFUN_BUFFER_VIEW and friends should be handled in Buffer ?
> PS. LFUN_CITATION_INSERT should be handled in Text ?

the position of lfuns in dispatch machinary is a bit messy.
moving is bit harder because one has to check things like
context menu or still work...

pavel

Reply via email to