]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrow.h
fix some C++ parsing bugs
[lyx.git] / src / lyxrow.h
index c82190dec62b9bca7a21841037a9aa2f1d0be5e0..68f229f7fb44ec8268f3e0d33ef544732b75699c 100644 (file)
@@ -67,18 +67,24 @@ public:
        ///
        Row * previous() const;
 
+       /// return true if this row is the start of a paragraph
+       bool isParStart() const;
+
+       /// return true if this  row is the end of a paragraph
+       bool isParEnd() const;
+
        /// return the position of the last character in this row
        lyx::pos_type lastPos() const;
        /// return the position of the last normal, printable character in this row
        lyx::pos_type lastPrintablePos() const;
-       
+
        /**
         * Returns the number of separators.
         * The separator on the very last column doesnt count.
         */
        int numberOfSeparators() const;
 
-       /** 
+       /**
         * Returns the number of hfills. It works like a LaTeX \hfill:
         * the hfills at the beginning and at the end are ignored.
         * This is much more useful than not to ignore!
@@ -118,32 +124,4 @@ private:
        Row * previous_;
 };
 
-
-inline
-Paragraph * Row::par()
-{
-       return par_;
-}
-
-
-inline
-Paragraph * Row::par() const
-{
-       return par_;
-}
-
-
-inline
-unsigned short Row::height() const
-{
-       return height_;
-}
-
-
-inline
-Row * Row::next() const
-{
-       return next_;
-}
-
 #endif