]> git.lyx.org Git - features.git/blobdiff - src/Row.cpp
Fix getColumnNearX for nested insets
[features.git] / src / Row.cpp
index 1a3bb247f036c7e829f60c4d39ce2983aedf00e8..d784979d34e89ed2a864cc3bfb1fa775e8aeecca 100644 (file)
@@ -218,9 +218,11 @@ ostream & operator<<(ostream & os, Row const & row)
           << " descent: " << row.dim_.des
           << " separator: " << row.separator
           << " label_hfill : " << row.label_hfill << "\n";
+       double x = row.x;
        Row::Elements::const_iterator it = row.elements_.begin();
        for ( ; it != row.elements_.end() ; ++it) {
-               os << "** " << *it << endl;
+               os << "x=" << x << " => " << *it << endl;
+               x += it->width();
        }
        return os;
 }