Andre Poenitz wrote: >> - gets the LyXView from the BufferView >> - get the LyXFunc from the LyXView >> - pass this LyXFunc to LaTeX >> - LaTeX dispatch its messages there > > Well, _I_'d ignore the possibility of different LyXViews for the next few > years (I have done so for a while now, and I am still alive...) So we'd > have a single LyXView with a single LyXFunc, at least for a while. > > 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? For instance, how can the parseError signal fit with this setup? Regards, Alfredo