On Mon, Nov 10, 2003 at 01:09:55PM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > >> > But I just noticed we need to a bit more careful: If an inset is not > >> > visible anymore (because the user scrolled down) it keeps its xy chace > >> > with bogus values... > >> > >> Ugh... > > > > We need the notion of 'visible paragraphs of main text'. > > BufferView::updateInset() would benefit from it as well... > > > > Should not be hard: A pair of ParagraphList::iterators build by summing > > up a few y values around bv->text->cursorPar()... > > > Why don't we set them up in the draw() stage? This is where the correct > cache positions get computed anyway.
Good idea. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
