]> git.lyx.org Git - lyx.git/blobdiff - src/metricsinfo.h
fix crash after removing a table row (again due to uncorrected cursor
[lyx.git] / src / metricsinfo.h
index b55a5fe8843b815e8e5ce96dcfd0722c1a7d4e3e..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,7 +71,7 @@ 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 {
@@ -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;
 };