X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxcursor.h;h=cc7cb9ef90b91f22d5755a4db3353a2b323314ca;hb=8d1c58af82d1fc356f470dff97878ab7c3e8a2fe;hp=43cbc0980cb8443f472834820c02c41e1500a042;hpb=cd6e293ed7c588748fe0cf5927f46dc5e9ae6e35;p=lyx.git diff --git a/src/lyxcursor.h b/src/lyxcursor.h index 43cbc0980c..cc7cb9ef90 100644 --- a/src/lyxcursor.h +++ b/src/lyxcursor.h @@ -25,8 +25,6 @@ class Row; */ class LyXCursor { public: - /// position in a paragraph - typedef lyx::pos_type pos_type; /// LyXCursor(); /// @@ -34,9 +32,9 @@ public: /// Paragraph * par() const; /// - void pos(pos_type p); + void pos(lyx::pos_type p); /// - pos_type pos() const; + lyx::pos_type pos() const; /// void boundary(bool b); /// @@ -61,7 +59,7 @@ private: /// The paragraph the cursor is in. Paragraph * par_; /// The position inside the paragraph - pos_type pos_; + lyx::pos_type pos_; /// bool boundary_; ///