]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
Oops...
[lyx.git] / src / paragraph.h
index caedbaf9faac92a879ba5d93d329934878d624d4..e7192c8d460da7faca797117ec0f4bb31e689e96 100644 (file)
@@ -154,6 +154,14 @@ public:
        ///
        Paragraph const * next() const;
 
+       ///
+       void previous(Paragraph *);
+       ///
+       Paragraph * previous();
+       ///
+       Paragraph const * previous() const;
+#endif
+
        /// initialise tracking for this par
        void trackChanges(Change::Type = Change::UNCHANGED);
 
@@ -175,6 +183,9 @@ public:
        /// is there a non-addition in this range ?
        bool isChangeEdited(lyx::pos_type start, lyx::pos_type end) const;
 
+       /// set change at pos
+       void setChange(lyx::pos_type pos, Change::Type type);
+
        /// accept change
        void acceptChange(lyx::pos_type start, lyx::pos_type end);
 
@@ -184,13 +195,6 @@ public:
        /// mark whole par as erased
        void markErased();
 
-       ///
-       void previous(Paragraph *);
-       ///
-       Paragraph * previous();
-       ///
-       Paragraph const * previous() const;
-#endif
        /// for the environments
        Paragraph * depthHook(depth_type depth);
        /// for the environments
@@ -217,6 +221,8 @@ public:
        ///
        void applyLayout(LyXLayout_ptr const & new_layout);
 
+       /// definite erase
+       void eraseIntern(lyx::pos_type pos);
        /// erase the char at the given position
        void erase(lyx::pos_type pos);
        /// erase the given range. Returns true if actually erased.
@@ -313,10 +319,6 @@ public:
        InsetList insetlist;
        ///
        //Counters & counters();
-
-       friend void breakParagraph(BufferParams const & bparams,
-                   Paragraph * par, lyx::pos_type pos, int flag);
-
 private:
        ///
        LyXLayout_ptr layout_;