]> git.lyx.org Git - lyx.git/blobdiff - src/textcursor.h
move some selection related stuff over to textcursor.C
[lyx.git] / src / textcursor.h
index dad6348cb9e35601a28c9f967f3138f8e54333e9..26091d5a4b68dc9cdd639e1abc65cb567a0c7d4c 100644 (file)
@@ -56,6 +56,13 @@ private:
 };
 
 struct TextCursor {
+       /// returns true if selection was set previously
+       bool setSelection();
+       ///
+       void clearSelection();
+       ///
+       string const selectionAsString(Buffer const * buffer, bool label) const;
+
        // actual cursor position
        LyXCursor cursor;