Andre Poenitz wrote: > On Thu, Jul 03, 2003 at 11:42:59AM +0200, Alfredo Braunstein wrote: >> > Then there are a couple of buffers, each could be looked at from >> > different views. This would make a nice tree, wouldn't it? Now all >> > requests can be fed it at the root of that tree, i.e. at the LyXView or >> > the LyXFunc. As LyXFunc already has a dispatch, I'd choose this. >> >> What if the request is directed to a specific bufferview? how does the >> lyxfunc will recognize which will be by itself? I don't get it. You have >> to specify the bv with the request? > > There is a bv field in FuncRequest for starters.
And how does calling BufferView through FuncRequest (through/passing BufferView again) leads to cleaner code as opposed to calling it directly? I'm probably missing the complete picture, but I really don't get it. Regards, Alfredo