Edwin Leuven a écrit :
do others see this?
recipe:
ctrl-n
ctrl-m
a
arrow right
enter
arrow up
I don't see that with two days old svn (qt2). Could you try to comment
out the call to needsUpdateCounters at ../../lyx-devel/src/text2.C:1278
A test of validity of the passed ParIterator in this function might be a
good idea... Something like that:
bool needsUpdateCounters(Buffer const & buf, ParIterator & it)
{
+ if (it == par_iterator_end(buf.inset()))
+ return false;
switch (it->layout()->labeltype) {
But I am not sure this is a valid test. ParIterator is still black magic
to me.
In any case the first test in setCounter seems wrong:
if (it.pit() == 0) {
par.params().appendix(par.params().startOfAppendix());
} else {
par.params().appendix(it.plist()[it.pit() -
1].params().appendix());
Abdel.