#ifndef TEXTCURSOR_H
#define TEXTCURSOR_H
+// Do not even think of forward declaring LyXText/BufferView etc here!
+// If you need Paragraph proper, go to text_func.h
+
/** The cursor.
Later this variable has to be removed. There should be now internal
cursor in a text (and thus not in a buffer). By keeping this it is
};
struct TextCursor {
- /// returns true if selection was set previously
- bool setSelection();
+ ///
+ void setSelection();
///
void clearSelection();
///
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