On Fri, Mar 31, 2006 at 06:01:13PM +0200, Abdelrazak Younes wrote:
> Jean-Marc Lasgouttes a écrit :
> >>>>>>"Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

...
 
> Out of interest I tried the following patch to understand how I can 
> speedup updateCounter. This is _not_ proposed for inclusion, I 
> understand this is not practical for inside inset numbering.
> Well, the good news is that, with this patch, paragraph 
> creation/deletion is _instantaneous_ (even with fast key+enter 
> repetition). I guess this is normal (and this is the bad news) because 
> the section are not numbered so setCounter() doesn't seem to work with 
> the ParIterator I am giving to it.

...

>       for (ParIterator it = par_iterator_begin(buf.inset()); it; ++it) {

What is the test doing in this for-loop? Shouldn't it be testing it != end,
with end = par_iterator_end(buf.inset()) ?

- Martin

Attachment: pgp6ZW5skCPax.pgp
Description: PGP signature

Reply via email to