]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.h
Add a for_search member to OutputParams, and use it to limit what
[lyx.git] / src / Cursor.h
index 31debbf9c48edc17fba7e76b827b095f0ff47a38..85ef62f7c8cf1cc2b22008191dc564e61c58f324 100644 (file)
@@ -52,8 +52,6 @@ public:
 protected:
        /// the anchor position
        DocIterator anchor_;
-       /// the start of the new born word
-       DocIterator new_word_;
        ///
        mutable DispatchResult disp_;
        /// do we have a selection?
@@ -155,7 +153,7 @@ public:
        CursorSlice selEnd() const;
        /// access start of selection
        DocIterator selectionBegin() const;
-       /// access start of selection
+       /// access end of selection
        DocIterator selectionEnd() const;
        /**
         * Update the selection status and save permanent
@@ -394,6 +392,8 @@ private:
        int x_target_;
        /// if a x_target cannot be hit exactly in a text, put the difference here
        int textTargetOffset_;
+       /// the start of the new born word
+       DocIterator new_word_;
        /// position before dispatch started
        DocIterator beforeDispatchCursor_;
        /// cursor screen coordinates before dispatch started