X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FTextMetrics.h;h=0ae802aca5f11392edeaa1f4302c9b6b44e727be;hb=824d1c99;hp=d65618fc0cbf5401dc1d0a183079fc61738ba401;hpb=b8188e54dd6e24fa92c3844458ed41ad37b50fb8;p=lyx.git diff --git a/src/TextMetrics.h b/src/TextMetrics.h index d65618fc0c..0ae802aca5 100644 --- a/src/TextMetrics.h +++ b/src/TextMetrics.h @@ -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; ///