Vincent van Ravesteijn - TNW wrote:
> >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?
> 
> Vcs checkout is handled in LyXFunc, so that will be the main/document
> buffer by default. I think that should hold for all LFUNs handled in
> LyXFunc.
> 
> That means we only have to replace "buf = lyx_view_->buffer()" with "buf
> = lyx_view_->mainBuffer()" once in LyXFunc.cpp.

i would bet there are some view().buffer() calls inside the machinery
for which is your assignment pretty useless. 

imho we should call 'buffer' things which are really buffers.
pavel

Reply via email to