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