X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FRow.h;h=f69eeca9f17ae9b83e4d24fafbafdbb105d1a133;hb=d3c63f97c4fce4e091277ced6c1829473c311231;hp=0bd4597746616ac5dd03fb3f2a6b57a226f933f4;hpb=1639abb8edaa492c649e69d093436f8a96f07bec;p=lyx.git diff --git a/src/Row.h b/src/Row.h index 0bd4597746..f69eeca9f1 100644 --- a/src/Row.h +++ b/src/Row.h @@ -62,6 +62,7 @@ public: extra(0), font(f), change(ch), final(false) {} // Return total width of element, including separator overhead + // FIXME: Cache this value or the number of separators? double full_width() const { return dim.wid + extra * countSeparators(); } // Return the number of separator in the element (only STRING type) int countSeparators() const;