]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
fix crash when collapsing ert with cursor inside
[lyx.git] / src / buffer.h
index 67b8c859b758e7bfc5f6e48f90341e18aff4e86b..26ae13f928b9d2914202f56bb5a1d8f99331867e 100644 (file)
@@ -49,10 +49,15 @@ class Undo;
 
 
 /** The buffer object.
-  This is the buffer object. It contains all the informations about
-  a document loaded into LyX. I am not sure if the class is complete or
-  minimal, probably not.
-  \author Lars Gullik Bjønnes
+ * This is the buffer object. It contains all the informations about
+ * a document loaded into LyX.
+ * The buffer object owns the LyXText (wrapped in an InsetText), which
+ * contains the individual paragraphs of the document.
+ *
+ *
+ * I am not sure if the class is complete or
+ * minimal, probably not.
+ * \author Lars Gullik Bjønnes
   */
 class Buffer {
 public:
@@ -99,7 +104,7 @@ public:
        ///
        void insertStringAsLines(ParagraphList & plist,
                lyx::pit_type &, lyx::pos_type &,
-               LyXFont const &, std::string const &);
+               LyXFont const &, std::string const &, bool);
        ///
        ParIterator getParFromID(int id) const;
        /// do we have a paragraph with this id?