On Sun, Apr 02, 2006 at 09:24:27AM +0200, Abdelrazak Younes wrote: > Abdelrazak Younes a écrit :
... > + // is it a layout that has no label at all (ex: standard layout)? > + if (layout->labeltype == LABEL_NO_LABEL) > + return; Actually a better optimization would be to put this kind of test into text.C, around the breakParagraph call to updateCounters. That will help with paragraph breaking, the most common use case in ordinary editing. (No need to redo the counters, is there, when you're just adding standard paragraphs?) Also the backspacePos0 occurrence could be considered. - Martin
pgp70OrMl8p82.pgp
Description: PGP signature