X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fparagraph.h;h=79ae05e6d6023488724d38a04382a581fdf0bc79;hb=09e01879979643949f1f2c7216023f1f35d5ada2;hp=1fa4612bfb000e08ad185e6021fd69314008a548;hpb=acc3e7135c7d34c9b7f72aa6e437d621a00d191b;p=lyx.git diff --git a/src/paragraph.h b/src/paragraph.h index 1fa4612bfb..79ae05e6d6 100644 --- a/src/paragraph.h +++ b/src/paragraph.h @@ -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