]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / paragraph.h
index 1fa4612bfb000e08ad185e6021fd69314008a548..79ae05e6d6023488724d38a04382a581fdf0bc79 100644 (file)
@@ -17,6 +17,7 @@
 
 #include "support/types.h"
 #include "changes.h"
+#include "RowList.h"
 
 #include "LString.h"
 
@@ -111,8 +112,6 @@ public:
        void setInsetOwner(UpdatableInset * inset);
        ///
        void deleteInsetsLyXText(BufferView *);
-       ///
-       void resizeInsetsLyXText(BufferView *);
 
        ///
        lyx::pos_type size() const;
@@ -258,12 +257,6 @@ public:
        InsetOld * getInset(lyx::pos_type pos);
        ///
        InsetOld const * getInset(lyx::pos_type pos) const;
-       /** important for cut and paste
-           Temporary change from BufferParams to Buffer. Will revert when we
-           get rid of the argument to InsetOld::clone(Buffer const &) */
-       void cutIntoMinibuffer(BufferParams const &, lyx::pos_type pos);
-       ///
-       bool insertFromMinibuffer(lyx::pos_type pos);
 
        ///
        bool isHfill(lyx::pos_type pos) const;
@@ -301,6 +294,9 @@ public:
        ///
        InsetList insetlist;
 
+       ///
+       mutable RowList rows;
+
 private:
        ///
        LyXLayout_ptr layout_;
@@ -325,7 +321,4 @@ inline bool isDeletedText(Paragraph const & par, lyx::pos_type pos)
        return par.lookupChange(pos) == Change::DELETED;
 }
 
-
-bool operator==(Paragraph const & lhs, Paragraph const & rhs);
-
 #endif // PARAGRAPH_H