From d341c4f446a02c82759efc402a83e47ddd1cea1c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Mon, 28 Apr 2008 18:49:23 +0000 Subject: [PATCH] * 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 --- src/insets/InsetCollapsable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; /// -- 2.39.5