On 03/10/2008 17:41, Vincent van Ravesteijn - TNW wrote:
Vincent van Ravesteijn - TNW wrote:
Strange, I reproduced it on two different locations, both Linux
though.
i couldn't. linux here. maybe you can provide more step-by-step recipe?
pavel
No, it is as simple as this:
1. New document
2. Enable track changes.
3. blablabla<enter>
4. Assertion
I saw this also yesterday at home, but I didn't want to report it,
because there is always the possibility that it occurs due to some of my
own hacking. Today I reverted and cleaned up everything overhere and the
same assertion appears.
Your assertion seems to indicate that the Changes table contains a bad
entry. Could you add some debug output and verify what the values are?
Index: Changes.cpp
===================================================================
--- Changes.cpp (revision 26692)
+++ Changes.cpp (working copy)
@@ -412,6 +412,9 @@
}
dit.pos() = it->range.start;
str += " " + dit.paragraph().asString(it->range.start,
it->range.end);
+ LYXERR(Debug::CHANGES, "Paragraph pit=" << dit.pit()
+ << " size=" << dit.paragraph().size()
+ << " Change from " << it->range.start << " to " <<
it->range.end);
docstring const & author =
author_list.get(it->change.author).name();
Toc::iterator it = change_list.item(0, author);
if (it == change_list.end()) {