]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
Improve fix to 57615915.
[lyx.git] / src / Cursor.h
index eab53675328dfd9b40dcb109f776bc330cb898ce..1cd51c2d11a7f7fc229d55bbbdbe4de2dfd8538b 100644 (file)
@@ -95,8 +95,6 @@ public:
 protected:
        /// the anchor position
        DocIterator anchor_;
-       ///
-       mutable DispatchResult disp_;
        /// do we have a selection?
        bool selection_;
        /// are we on the way to get one?
@@ -225,7 +223,7 @@ public:
         * If the cursor is at the edge of a row, the position which is "over the 
         * edge" will be returned as -1.
         */
-       void getSurroundingPos(pos_type & left_pos, pos_type & right_pos);
+       void getSurroundingPos(pos_type & left_pos, pos_type & right_pos) const;
        /// the row in the paragraph we're in
        Row const & textRow() const;