]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
HTML for math sizes.
[lyx.git] / src / Cursor.h
index b34c6762236c4aef3e1de0fa36a9c9483be9590c..f1a859662020c8953889b418e9b832adda2837d1 100644 (file)
@@ -294,8 +294,10 @@ public:
        ///
        mutable DispatchResult disp_;
        ///
-       DocIterator const & beforeDispatchCursor() { return beforeDispatchCursor_; }
-       
+       DocIterator const & beforeDispatchCursor() const { return beforeDispatchCursor_; }
+       ///
+       void saveBeforeDispatchPosXY();
+
 private:
        /**
         * The target x position of the cursor. This is used for when
@@ -325,6 +327,10 @@ private:
        bool logicalpos_;
        /// position before dispatch started
        DocIterator beforeDispatchCursor_;
+       /// cursor screen coordinates before dispatch started
+       int beforeDispatchPosX_;
+       int beforeDispatchPosY_;
+
 
 // FIXME: make them private.
 public: