Alfredo Braunstein wrote:
> The document scrolled down a bit for some reason (and the scrollbar
> is broken). But the line is there.
Thank you.
>> and the dialog is telling us that "Guideby" is unknown.
>
> THis went in when the PosIterator -> DocIterator switch, 'newlines'
> are not identified as separating words now... I can have a look.
Thank you.
>> Thereafter, press "ignore"
> I'll have at this look tomorrow.
Ok. I added two print statements. Patch attached.
The LyX User's Guide
by the LyX Team [foot][Principal maintainer of
this file is Mike Ressler. If you have ...]
It's something of an eye-opener to see how inefficient this bloody
thing is, but anyway, here's the crash:
getPar: 0 from 1
getPar: 0 from 1
getPar: 0 from 1
getPar: 0 from 1
getPar: 0 from 1
getPar: 0 from 1
getPar: 0 from 1
checking Ressler
getPar: 1 from 1
Assertion triggered in Paragraph& LyXText::getPar(int) const by
failing check "par < int(paragraphs().size())" in file
../../src/text.C:1690
Program received signal SIGABRT, Aborted.
0x00adfc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
Looks like the iteration doesn't get out of the footnote correctly.
Time for bed.
--
Angus
Index: src/text.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text.C,v
retrieving revision 1.556
diff -u -p -r1.556 text.C
--- src/text.C 27 Mar 2004 01:18:47 -0000 1.556
+++ src/text.C 30 Mar 2004 22:37:58 -0000
@@ -1685,7 +1685,7 @@ void LyXText::backspace(LCursor & cur)
Paragraph & LyXText::getPar(par_type par) const
{
- //lyxerr << "getPar: " << par << " from " << paragraphs().size() << endl;
+ lyxerr << "getPar: " << par << " from " << paragraphs().size() << endl;
BOOST_ASSERT(par >= 0);
BOOST_ASSERT(par < int(paragraphs().size()));
return paragraphs()[par];
Index: src/frontends/controllers/ControlSpellchecker.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/ControlSpellchecker.C,v
retrieving revision 1.66
diff -u -p -r1.66 ControlSpellchecker.C
--- src/frontends/controllers/ControlSpellchecker.C 25 Mar 2004 09:16:27 -0000 1.66
+++ src/frontends/controllers/ControlSpellchecker.C 30 Mar 2004 22:37:58 -0000
@@ -232,6 +232,7 @@ void ControlSpellchecker::check()
if (!checkAlive())
return;
+ lyxerr << "checking " << getWord() << std::endl;
res = speller_->check(word_);
// ... or it might just be reporting an error