]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCollapsable.h
Inset::addToToc(): change signature. Use DocIterator instead of ParConstIterator...
[lyx.git] / src / insets / InsetCollapsable.h
index fa8cf0fc50ca1c866b819135e3aad7102ee8f80d..c5b9975f33fe561e19aeb9ec96e585644b9f8b5b 100644 (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;
        ///