X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftextcursor.h;h=a7187eb3d9476a6903711a029a7bf0e16ade4399;hb=09e01879979643949f1f2c7216023f1f35d5ada2;hp=5e1c982c70f0a069909b4a4aadd9512961f3d6e8;hpb=efff440e7028543aab79e57c35d3adfde48fa1bd;p=lyx.git diff --git a/src/textcursor.h b/src/textcursor.h index 5e1c982c70..a7187eb3d9 100644 --- a/src/textcursor.h +++ b/src/textcursor.h @@ -59,8 +59,8 @@ private: }; struct TextCursor { - /// returns true if selection was set previously - bool setSelection(); + /// + void setSelection(); /// void clearSelection(); /// @@ -72,9 +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; }; #endif