]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLayout.h
Fix assertion when checking if change in selection
[lyx.git] / src / insets / InsetLayout.h
index c4a12a4018a9e17eaee309c0b4676ba08ed7afe1..79390e522de7e422b271a6d3d7e7b177c839e684 100644 (file)
@@ -162,6 +162,8 @@ public:
        ///
        bool isNeedProtect() const { return needprotect_; }
        ///
+       bool needsCProtect() const { return needcprotect_; }
+       ///
        bool isFreeSpacing() const { return freespacing_; }
        ///
        bool isKeepEmpty() const { return keepempty_; }
@@ -187,6 +189,8 @@ public:
        std::string tocType() const { return toc_type_; }
        ///
        bool isTocCaption() const { return is_toc_caption_; }
+       ///
+       bool editExternally () const { return edit_external_; }
 private:
        ///
        void makeDefaultCSS() const;
@@ -283,6 +287,8 @@ private:
        bool forceownlines_;
        ///
        bool needprotect_;
+       ///
+       bool needcprotect_;
        /// should the contents be written to TOC strings?
        bool intoc_;
        /// check spelling of this inset?
@@ -308,6 +314,8 @@ private:
        std::string toc_type_;
        ///
        bool is_toc_caption_;
+       ///
+       bool edit_external_;
 };
 
 ///