]> git.lyx.org Git - lyx.git/blobdiff - src/metricsinfo.h
fix reading the author field.
[lyx.git] / src / metricsinfo.h
index 4b16ac312002bcc8a294336208398950ee28b4a3..2e401c3eb7c3cb172b9d2433249162c4110056f5 100644 (file)
@@ -56,7 +56,7 @@ struct MetricsBase {
 
 
 //
-// This contains a Metricsbase and Information that's only relevant during
+// This contains a MetricsBase and information that's only relevant during
 // the first phase of the two-phase draw
 //
 struct MetricsInfo {
@@ -71,12 +71,12 @@ struct MetricsInfo {
 
 
 //
-// This contains a Metricsbase and Information that's only relevant during
+// This contains a MetricsBase and information that's only relevant during
 // the second phase of the two-phase draw
 //
 struct PainterInfo {
        ///
-       explicit PainterInfo(BufferView * bv);
+       PainterInfo(BufferView * bv, Painter & pain);
        ///
        void draw(int x, int y, char c);
 
@@ -84,8 +84,8 @@ struct PainterInfo {
        MetricsBase base;
        ///
        Painter & pain;
-       /// width of current item
-       int width;
+       /// Whether the text at this point is right-to-left (for InsetNewline)
+       bool ltr_pos;
 };