]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.h
Inset::forceLTR() only determines whether explicit switches are needed
[lyx.git] / src / TextMetrics.h
index 1501250a31fe13381c40efc89c4b1fb767835497..cf53faa13282407acd05c6f8278ea3bfed52958d 100644 (file)
@@ -148,13 +148,11 @@ private:
        /// the minimum space a manual label needs on the screen in pixels
        int labelFill(Row const & row) const;
 
-       /// FIXME??
-       int labelEnd(pit_type const pit) const;
+       // Turn paragraph oh index \c pit into a single row
+       Row tokenizeParagraph(pit_type pit) const;
 
-       /// sets row.end to the pos value *after* which a row should break.
-       /// for example, the pos after which isNewLine(pos) == true
-       /// \return true when another row is required (after a newline)
-       bool breakRow(Row & row, int right_margin) const;
+       // Break the row produced by tokenizeParagraph() into a list of rows.
+       RowList breakParagraph(Row const & row) const;
 
        // Expands the alignment of row \param row in paragraph \param par
        LyXAlignment getAlign(Paragraph const & par, Row const & row) const;