-/* This file is part of
- * ======================================================
+/**
+ * \file lyxcursor.C
+ * Copyright 1995-2001 the LyX Team
+ * Read the file COPYING
*
- * LyX, The Document Processor
- *
- * Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- *
- * ====================================================== */
+ * \author Matthias Ettrich
+ */
#include <config.h>
LyXCursor::LyXCursor()
: par_(0), pos_(0), boundary_(false),
- x_(0), x_fix_(0), y_(0), iy_(0), row_(0)
+ x_(0), ix_(0), x_fix_(0), y_(0), iy_(0), row_(0)
{}
}
+void LyXCursor::ix(int n)
+{
+ ix_ = n;
+}
+
+int LyXCursor::ix() const
+{
+ return ix_;
+}
+
+
void LyXCursor::x_fix(int i)
{
x_fix_ = i;
{
return row_;
}
+
+
+void LyXCursor::irow(Row * r)
+{
+ irow_ = r;
+}
+
+
+Row * LyXCursor::irow() const
+{
+ return irow_;
+}