]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
* src/frontends/GuiDocument.{cpp,h}:
[lyx.git] / src / Cursor.h
index ba269f806d1ca2162a2aaad148c15a671a7bbd0a..7991d0890ad3d226199e47ae02c3afe4caa1170e 100644 (file)
@@ -217,6 +217,9 @@ public:
        /// Convenience: prepare undo for the selected paragraphs
        void recordUndoSelection();
 
+       ///
+       void checkBufferStructure();
+
 public:
        ///
        BufferView * bv_;
@@ -254,10 +257,6 @@ private:
        // of a big inset spanning a whole row and computing coordinates for
        // displaying the cursor.
        bool logicalpos_;
-       /// x position before dispatch started
-       int beforeDispX_;
-       /// y position before dispatch started
-       int beforeDispY_;
        /// position before dispatch started
        DocIterator beforeDispatchCursor_;
 
@@ -334,7 +333,7 @@ public:
        // selection in given cell of atom
        void handleNest(MathAtom const & at, int cell = 0);
        ///
-       bool isInside(Inset const *);
+       bool isInside(Inset const *) const;
 
        /// make sure cursor position is valid
        /// FIXME: It does a subset of fixIfBroken. Maybe merge them?