Il 30/01/2011 01:28, Tommaso Cucinotta ha scritto:

If it is the same currently committed, then it is sufficient to:
-) create a new file
-) type any letter and kaboom!

So, on my system, I need the patch below in order to be able to use LyX trunk again (r37368):

Index: src/Paragraph.cpp
===================================================================
--- src/Paragraph.cpp    (revisione 37368)
+++ src/Paragraph.cpp    (copia locale)
@@ -3765,6 +3765,9 @@

 bool Paragraph::isMisspelled(pos_type pos, bool check_boundary) const
 {
+    LASSERT(pos >=0 && pos <= size(), /**/);
+    if (pos == size())
+        return false;
bool result = SpellChecker::misspelled(d->speller_state_.getState(pos));
     if (!result && check_boundary && pos > 0 && isWordSeparator(pos))
result = SpellChecker::misspelled(d->speller_state_.getState(pos - 1));

I suspect this only masquerades/protects from some bug in the real-time spellchecker code, but without it my LyX (trunk) becomes nearly unusable.

    T.

Reply via email to