X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FRow.h;h=e03e4c9e9dff4f36eeb3d24385cfff2187822dcd;hb=74059f6b5600c92166e66e9b6b78eda2b7b93331;hp=a51e3ceb912cefef657b80c71a83ddd3238d929f;hpb=21c30a09e12a7ad94bde592d3fea3e66f6fb38f5;p=lyx.git diff --git a/src/Row.h b/src/Row.h index a51e3ceb91..e03e4c9e9d 100644 --- a/src/Row.h +++ b/src/Row.h @@ -170,6 +170,11 @@ public: /// int descent() const { return dim_.des; } + /// The offset of the left-most cursor position on the row + int left_x() const; + /// The offset of the right-most cursor position on the row + int right_x() const; + // Return the number of separators in the row int countSeparators() const; // Set the extra spacing for every separator in STRING elements