]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.h
Fixup 294e4884: center correctly Abstract label when paragraph is empty
[lyx.git] / src / TextMetrics.h
index d65618fc0cbf5401dc1d0a183079fc61738ba401..0ae802aca5f11392edeaa1f4302c9b6b44e727be 100644 (file)
@@ -123,12 +123,14 @@ public:
        int height() const { return dim_.height(); }
 
        /**
-        * Returns the left beginning of the text.
+        * Returns the left beginning of a row starting at \c pos.
         * 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(pit_type pit, pos_type pos) const;
+       /// Return the left beginning of a row which is not the first one.
+       /// This is the left margin when there is no indentation.
        int leftMargin(pit_type pit) const;
 
        ///