]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
Fix crash when running lyx -dbg insets -e ...
[lyx.git] / src / buffer.h
index ae9cbb0ce2d0092e723ca8ba9169401cf0be3408..dedb17f273e22aae87cb9c14ff921af56a322edf 100644 (file)
@@ -124,6 +124,12 @@ public:
                                        string const & token, int & pos,
                                        Paragraph::depth_type & depth, 
                                        LyXFont &);
+       ///
+       void insertErtContents(Paragraph * par, int & pos,
+                              LyXFont const & font,
+                              bool set_inactive = true);
+       ///
+       Paragraph * getParFromID(int id) const;
 private:
        /// Parse a single inset.
        void readInset(LyXLex &, Paragraph *& par, int & pos, LyXFont &);
@@ -427,6 +433,16 @@ public:
        inset_iterator inset_iterator_end() {
                return inset_iterator();
        }
+       ///
+       inset_iterator inset_const_iterator_begin() const {
+               return inset_iterator(paragraph);
+       }
+       ///
+       inset_iterator inset_const_iterator_end() const {
+               return inset_iterator();
+       }
+       ///
+       Inset * getInsetFromID(int id_arg) const;
 };