From: Jürgen Spitzmüller Date: Mon, 28 Apr 2008 18:49:23 +0000 (+0000) Subject: * src/insets/InsetCollapsable.h: X-Git-Tag: 1.6.10~4958 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d341c4f446a02c82759efc402a83e47ddd1cea1c;p=lyx.git * 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 --- diff --git a/src/insets/InsetCollapsable.h b/src/insets/InsetCollapsable.h index fa8cf0fc50..c5b9975f33 100644 --- a/src/insets/InsetCollapsable.h +++ b/src/insets/InsetCollapsable.h @@ -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; ///