- 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
/// (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;
///