]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphMetrics.h
* src/frontends/qt4/ui/ParagraphUi.ui: just tiny cosmetics (make dialog more compact)
[lyx.git] / src / ParagraphMetrics.h
index 7c0992705b161071ac608e5dfa2f5ae7b1ea8f5e..6d9a3fa828ca74b9e3195dd098223710e78cc3f4 100644 (file)
 
 namespace lyx {
 
+/**
+ * Each paragraph is broken up into a number of rows on the screen.
+ * This is a list of such on-screen rows, ordered from the top row
+ * downwards.
+ */
+typedef std::vector<Row> RowList;
+
 class MetricsInfo;
 class PainterInfo;
 
@@ -61,7 +68,7 @@ public:
        /// The painter and others use this
        RowList const & rows() const { return rows_; }
        /// The painter and others use this
-       std::vector<bool> const & rowChangeStatus() const 
+       std::vector<bool> const & rowChangeStatus() const
        { return row_change_status_; }
        ///
        void updateRowChangeStatus();
@@ -72,6 +79,8 @@ public:
        void dump() const;
 
 private:
+       ///
+       typedef std::vector<size_type> RowSignature;
        ///
        size_type calculateRowSignature(Row const &);
        ///