Abdelrazak Younes wrote: > Peter Kümmel wrote: > >> >> A other solution is to somehow handle within the views which part >> of the buffer is viewed. > > This is what we have already: Each LyXView (WorkArea really) has its own > unique BufferView which is a view of one part of the document. Except > for some cursor bug (the famous dEPM bug), this is working fine. > > Abdel. > >
Ah, didn't know that. So could you describe the design a little bit with the MVC language, I think this will help a lot of people to read and understand the code. Something like this: model: - buffer the one big buffer view: - WorkArea partly view of the buffer - lyxview frontent impl of the view -- Peter Kümmel