Jean-Marc Lasgouttes a écrit :
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
[...]
I would be OK with that. OTOH if you manage not to call setItemLabel
directly in 1.4 but setCounter instead, you could leave the remainder
of the code as it stands (with one bug setCounter function). We do not
need to cleanup the 1.4 code.
OK, I'll see to it.
Abdelrazak> If I do this I would need to construct a ParIterator in
Abdelrazak> BreakParagraph. But "ParIterator::ParIterator(InsetBase &,
Abdelrazak> lyx::pit_type pit)" is not implemented and should be
Abdelrazak> implemented first (it is too costly to advance the
Abdelrazak> ParIterator up to pit).
You have a cursor. Can't you use
ParIterator::ParIterator(DocIterator const & cur)
?
I don't know the LyX API by heart yet ;-)
Are we sure that the cursor is on the right paragraph after a deletion
or a creation?
Abdel.