On Thu, Jul 13, 2006 at 03:56:02PM +0200, Abdelrazak Younes wrote: > Georg Baum wrote: > >Abdelrazak Younes wrote: > > > >>As a side note, I really think the coordcache concept is flawed. > > Well, I guess should be a bit more diplomatic in my words. I meant that > the way the coordCache is used is flawed. What is problematic is it's > use all other the place in LyXCode without any confidence in its state. > I also think that it is (maybe) overused in some places.
No need to be diplomatic. The concept _is_ flawed because the coord cache is not just a cache to speed up things, it also needs to be warm at various times (most notably anytime up/down movement is required) There is a fairly simple solution to this problem: Always rebreak paragraphs on-the-fly. However, this turned out to be too expensive. > >IIRC it was introduced as part of the two-step drawing scheme that > >helped to get rid of lots of hacks that were present in 1.3. If it > >is not properly documented somewhere please get Andre to write a > >short summary. > > It is actually not that hard to understand when you read the code Certainly compared to 'lockInsetInInset' & Co. [You have been lucky not to live in the Dark Ages, Abdel ;-}] Andre'
