If you see fl_DocLayout.cpp:735, you can see that containers in general need an isOnScreen() method. Coding this method would probably boost our performance a good bit, especially on larger documents (which is where Abi fails miserably at the moment).
Dom On Tuesday, July 30, 2002, at 02:15 PM, Tomas Frydrych wrote: > > I have been looking at fl_BlockLayout::checkSpelling() and friends, > and it seems that every time this function is called by the timer and > the squiggles change, we do a screen update. We should really only > do screen update if the current block is on screen. Is there any > simple way of checking whether a block is on screen or not, or do I > need to design a function for that? > > Also the flipping of cursor on and off from within this function results > in frantic flicker of the cursor when a document was just loaded and > all the blocks are being processed. > > Tomas
