]> git.lyx.org Git - lyx.git/blobdiff - src/lyxcursor.h
whichFont down to 5.3%
[lyx.git] / src / lyxcursor.h
index 43cbc0980cb8443f472834820c02c41e1500a042..cc7cb9ef90b91f22d5755a4db3353a2b323314ca 100644 (file)
@@ -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_;
        ///