On Thu, Feb 09, 2006 at 05:16:10PM +0100, Abdelrazak Younes wrote: > Jean-Marc Lasgouttes a écrit : > >Abdelrazak> Again when pasting multiple paragraphs, my debug info > >Abdelrazak> tells me that the multiple insertion are instantaneous but > >Abdelrazak> I have to wait maybe 0.5 second to see them on the > >Abdelrazak> screen... > > > >Could it be updateCounters()? This scans the whole document. It is > >probably possible to speed it up a bit. > > Yes you are right! The slow bit is the updateCounters call inside > LyXText::breakParagraph (text.c). > It should be possible to limit the scan to the paragraph before and > after the current paragrap, shouldn't it? > > Abdel
Not really... what if the broken paragraph is a numbered section header? - Martin
pgplyA1QmvV7i.pgp
Description: PGP signature
