]> git.lyx.org Git - features.git/blobdiff - src/lyxtext.h
merge CursorItem and MathPos
[features.git] / src / lyxtext.h
index 9b5290cbd530cc4060f1901fa349b72c25a0ebfd..9908728ac99290035a9ff990b4602598cf32db72 100644 (file)
@@ -399,6 +399,14 @@ public:
        int ascent() const;
        ///
        int descent() const;
+       ///
+       int cursorX() const;
+       ///
+       int cursorY() const;
+       ///
+       int cursorX(LyXCursor const & cursor) const;
+       ///
+       int cursorY(LyXCursor const & cursor) const;
 
 public:
        ///
@@ -437,10 +445,6 @@ public:
 private:
        /// rebreaks the given par
        void redoParagraphInternal(ParagraphList::iterator pit);
-
-       ///
-       float getCursorX(ParagraphList::iterator pit,
-            Row const & row, lyx::pos_type pos, bool boundary) const;
        /// used in setlayout
        void makeFontEntriesLayoutSpecific(BufferParams const &, Paragraph & par);