]> git.lyx.org Git - lyx.git/blobdiff - src/Text2.cpp
Customization.lyx: rewrote section how to install LaTeX-packages
[lyx.git] / src / Text2.cpp
index 88aa09c7cdce3c7029bfe1176ede1df264777f4d..9ce5d98fa9330ebf94c12a5b03a9444719effd55 100644 (file)
@@ -356,6 +356,9 @@ void Text::setFont(BufferView const & bv, CursorSlice const & begin,
                Font f = tm.displayFont(pit, pos);
                f.update(font, language, toggleall);
                setCharFont(pit, pos, f, tm.font_);
+               // font change may change language... 
+               // spell checker has to know that
+               pars_[pit].requestSpellCheck(pos);
        }
 }