]> git.lyx.org Git - lyx.git/blobdiff - src/cursor.h
Account for kerning when positioning scripts in the MathFontOld and
[lyx.git] / src / cursor.h
index 133d6ebb96af47d4b553b5cb189fc79919c6fc00..557ceae7e12b8270190220e3b7f6afa1f136bb96 100644 (file)
@@ -26,6 +26,7 @@ class BufferView;
 class FuncStatus;
 class FuncRequest;
 class LyXFont;
+class Row;
 
 // these should go
 class InsetMathUnknown;
@@ -90,7 +91,7 @@ public:
        //
        docstring selectionAsString(bool label) const;
        ///
-       std::string currentState();
+       docstring currentState();
 
        /// auto-correct mode
        bool autocorrect() const { return autocorrect_; }
@@ -103,8 +104,6 @@ public:
        /// returns x,y position
        void getPos(int & x, int & y) const;
        /// the row in the paragraph we're in
-       Row & textRow();
-       /// the row in the paragraph we're in
        Row const & textRow() const;
 
        //