#pragma interface
#endif
-#include "paragraph.h"
+#include "support/types.h"
-struct Row;
+class Paragraph;
+class Row;
/** All these variables should be explained. Matthias?
*/
class LyXCursor {
public:
+ ///
LyXCursor();
///
void par(Paragraph * p);
///
Paragraph * par() const;
///
- void pos(Paragraph::size_type p);
+ void pos(lyx::pos_type p);
///
- Paragraph::size_type pos() const;
+ lyx::pos_type pos() const;
///
void boundary(bool b);
///
/// The paragraph the cursor is in.
Paragraph * par_;
/// The position inside the paragraph
- Paragraph::size_type pos_;
+ lyx::pos_type pos_;
///
bool boundary_;
///