]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
A couple of minor bug fixes and cleanups
[lyx.git] / src / lyxtext.h
index f5fd74c6111a72b8345deeacbe6cb80d0e8e250d..949681298d438d1d5ea0ea6f641dec19c55121cc 100644 (file)
@@ -589,6 +589,9 @@ private:
        /// paint appendix marker
        void paintRowAppendix(DrawRowParams & p);
 
+       /// paint page break marker. Returns its height.
+       int paintPageBreak(string const & label, int y, DrawRowParams & p);
        /// paint env depth bar
        void paintRowDepthBar(DrawRowParams & p);
 
@@ -666,11 +669,12 @@ private:
        ///
        lyx::pos_type beginningOfMainBody(Buffer const *, Paragraph const * par) const;
 
-       /** Returns the left beginning of the text.
-         This information cannot be taken from the layouts-objekt, because
-         in LaTeX the beginning of the text fits in some cases
-         (for example sections) exactly the label-width.
-         */
+       /** 
+        * Returns the left beginning of the text.
+        * This information cannot be taken from the layout object, because
+        * in LaTeX the beginning of the text fits in some cases
+        * (for example sections) exactly the label-width.
+        */
        int leftMargin(BufferView *, Row const * row) const;
        ///
        int rightMargin(Buffer const *, Row const * row) const;