* src/insets/InsetCollapsable.h:

- exclude insets with latex_language from spell checking (bug 4810).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24543 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-04-28 18:49:23 +00:00
parent 229d03b023
commit d341c4f446

View File

@ -118,8 +118,8 @@ public:
/// (status_), autoOpen_ and openinlined_, and of
/// course decoration().
Geometry geometry() const;
///
bool allowSpellCheck() const { return true; }
/// Allow spellchecking, except for insets with latex_language
bool allowSpellCheck() const { return !forceLTR(); }
///
bool allowMultiPar() const;
///