]> git.lyx.org Git - lyx.git/blobdiff - src/lyxcursor.C
Lars says _(_(b)) is a bug ... fix
[lyx.git] / src / lyxcursor.C
index 12afbd3df941172db23deff947914627bccb23d1..b653075525477e25ca1cbc26bdffa5af3519df18 100644 (file)
@@ -1,12 +1,10 @@
-/* This file is part of
- * ====================================================== 
- * 
- *           LyX, The Document Processor
- *      
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team.
+/**
+ * \file lyxcursor.C
+ * Copyright 1995-2001 the LyX Team
+ * Read the file COPYING
  *
- * ====================================================== */
+ * \author Matthias Ettrich
+ */
 
 #include <config.h>
 
 
 LyXCursor::LyXCursor()
        : par_(0), pos_(0), boundary_(false),
-         x_(0), x_fix_(0), y_(0), row_(0)
+         x_(0), ix_(0), x_fix_(0), y_(0), iy_(0), row_(0)
 {}
 
 
-void LyXCursor::par(Paragraph * p) 
+void LyXCursor::par(Paragraph * p)
 {
        par_ = p;
 }
@@ -47,7 +45,7 @@ lyx::pos_type LyXCursor::pos() const
 }
 
 
-void LyXCursor::boundary(bool b) 
+void LyXCursor::boundary(bool b)
 {
        boundary_ = b;
 }
@@ -70,6 +68,17 @@ int LyXCursor::x() const
 }
 
 
+void LyXCursor::ix(int n)
+{
+       ix_ = n;
+}
+
+int LyXCursor::ix() const
+{
+       return ix_;
+}
+
+
 void LyXCursor::x_fix(int i)
 {
        x_fix_ = i;
@@ -94,6 +103,18 @@ int LyXCursor::y() const
 }
 
 
+void LyXCursor::iy(int i)
+{
+       iy_ = i;
+}
+
+
+int LyXCursor::iy() const
+{
+       return iy_;
+}
+
+
 void LyXCursor::row(Row * r)
 {
        row_ = r;
@@ -104,3 +125,15 @@ Row * LyXCursor::row() const
 {
        return row_;
 }
+
+
+void LyXCursor::irow(Row * r)
+{
+       irow_ = r;
+}
+
+
+Row * LyXCursor::irow() const
+{
+       return irow_;
+}