]> git.lyx.org Git - lyx.git/blobdiff - src/textcursor.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / textcursor.h
index 530bb22840c67cd9f8ea2f6fe007e775f43fb51a..a7187eb3d9476a6903711a029a7bf0e16ade4399 100644 (file)
@@ -59,8 +59,8 @@ private:
 };
 
 struct TextCursor {
-       /// returns true if selection was set previously
-       bool setSelection();
+       ///
+       void setSelection();
        ///
        void clearSelection();
        ///
@@ -72,13 +72,6 @@ struct TextCursor {
        Selection selection;
        // this is used to handle XSelection events in the right manner
        Selection xsel_cache;
-
-       /// needed for the toggling (cursor position on last selection made)
-       LyXCursor last_sel_cursor;
-       /// needed for toggling the selection in screen.C
-       LyXCursor toggle_cursor;
-       /// needed for toggling the selection in screen.C
-       LyXCursor toggle_end_cursor;
 };
 
 #endif