]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.h
Russian splash.lyx: update from Yuriy
[lyx.git] / src / TextMetrics.h
index 0518231a8da9212f1bed27274bd9888278f36d9d..3000b218bfc44a914d1d51b27028d24b55be5bdd 100644 (file)
@@ -119,6 +119,15 @@ private:
        ///
        ParagraphMetrics & parMetrics(pit_type, bool redo_paragraph);
 
+       /**
+        * 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(pit_type pit, pos_type pos) const;
+       int leftMargin(pit_type pit) const;
+
        /// the minimum space a manual label needs on the screen in pixels
        int labelFill(Row const & row) const;
 
@@ -217,15 +226,6 @@ public:
        /// \sa BufferView::getCoveringInset() to get the innermost inset.
        Inset * checkInsetHit(int x, int y);
 
-       /**
-        * 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(int max_width, pit_type pit, pos_type pos) const;
-       int leftMargin(int max_width, pit_type pit) const;
-
        /// calculates the position of a completion popup
        void completionPosAndDim(Cursor const & cur, int & x, int & y,
                Dimension & dim) const;